SwiftclassConversationKit
CallControlsMenuViewModel
@Observable class ConversationKit.CallControlsMenuViewModel
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 _context: ConversationKit.CallControlsContext+0x10 - field
var _contextCancellable: Combine.AnyCancellable? - field
var _inCallContext: ConversationKit.CallControlsInCallContext - field
let isAppFrontMost: Combine.AnyPublisher<Bool, Never> - field
let service: ConversationKit.CallControlsService+0x28 - func
access<A>(keyPath: KeyPath<ConversationKit.CallControlsMenuViewModel, A>) -> () - func
startContextObservation() -> () - func
withMutation<A, B>(keyPath: KeyPath<ConversationKit.CallControlsMenuViewModel, A>, _: () throws -> B) throws -> B - init
ConversationKit.CallControlsMenuViewModel.__allocating_init(service: ConversationKit.CallControlsService, isAppFrontMost: Combine.AnyPublisher<Bool, Never>) -> ConversationKit.CallControlsMenuViewModel - var
final var context: ConversationKit.CallControlsContext { get set init }
Header
@Observation.Observable class CallControlsMenuViewModel { final var context: ConversationKit.CallControlsContext let service: any ConversationKit.CallControlsService let isAppFrontMost: Combine.AnyPublisher<Swift.Bool, Swift.Never> // synthesized from the storage `_contextCancellable` that @Observable generated; the property's own accessors are stripped var contextCancellable: Combine.AnyCancellable? // synthesized from the storage `_inCallContext` that @Observable generated; the property's own accessors are stripped var inCallContext: ConversationKit.CallControlsInCallContext init(service: any ConversationKit.CallControlsService, isAppFrontMost: Combine.AnyPublisher<Swift.Bool, Swift.Never>) final func startContextObservation() deinit }