SwiftclassMediaCoreUI
@Observable class MediaCoreUI.NowPlayingViewModel.Presentation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 12
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _hasBeenPresented: Bool+0x10 - field
var _isEnabled: Bool+0x20 - field
var _isMiniPlayerInstalled: Bool+0x11 - field
var _overrideIcon: String?+0x28 - field
var _playerStyle: MediaCoreUI.NowPlayingViewModel.PlayerStyle+0x12 - field
var _primaryActionHandler: (() -> ())?+0x38 - field
let playerStyleSubject: Combine.PassthroughSubject<MediaCoreUI.NowPlayingViewModel.PlayerStyle, Never>+0x18 - func
setEnabled(Bool) -> () - func
setOverrideIcon(String?) -> () - func
setPrimaryActionHandler((@MainActor () -> ())?) -> ()
Header
@Observation.Observable class MediaCoreUI.NowPlayingViewModel.Presentation { // synthesized from the storage `_hasBeenPresented` that @Observable generated; the property's own accessors are stripped var hasBeenPresented: Swift.Bool // synthesized from the storage `_isMiniPlayerInstalled` that @Observable generated; the property's own accessors are stripped var isMiniPlayerInstalled: Swift.Bool // synthesized from the storage `_playerStyle` that @Observable generated; the property's own accessors are stripped var playerStyle: MediaCoreUI.NowPlayingViewModel.PlayerStyle let playerStyleSubject: Combine.PassthroughSubject<MediaCoreUI.NowPlayingViewModel.PlayerStyle, Swift.Never> // synthesized from the storage `_isEnabled` that @Observable generated; the property's own accessors are stripped var isEnabled: Swift.Bool // synthesized from the storage `_overrideIcon` that @Observable generated; the property's own accessors are stripped var overrideIcon: Swift.String? // synthesized from the storage `_primaryActionHandler` that @Observable generated; the property's own accessors are stripped var primaryActionHandler: (() -> ())? final func setEnabled(_: Swift.Bool) final func setOverrideIcon(_: Swift.String?) final func setPrimaryActionHandler(_: (@Swift.MainActor () -> ())?) deinit }