SwiftclassConversationKit

@Observable class ConversationKit.CallControlsMenuViewModel

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 12

  1. deinitdeinit
  2. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  3. fieldvar _context: ConversationKit.CallControlsContext+0x10
  4. fieldvar _contextCancellable: Combine.AnyCancellable?
  5. fieldvar _inCallContext: ConversationKit.CallControlsInCallContext
  6. fieldlet isAppFrontMost: Combine.AnyPublisher<Bool, Never>
  7. fieldlet service: ConversationKit.CallControlsService+0x28
  8. funcaccess<A>(keyPath: KeyPath<ConversationKit.CallControlsMenuViewModel, A>) -> ()
  9. funcstartContextObservation() -> ()
  10. funcwithMutation<A, B>(keyPath: KeyPath<ConversationKit.CallControlsMenuViewModel, A>, _: () throws -> B) throws -> B
  11. initConversationKit.CallControlsMenuViewModel.__allocating_init(service: ConversationKit.CallControlsService, isAppFrontMost: Combine.AnyPublisher<Bool, Never>) -> ConversationKit.CallControlsMenuViewModel
  12. varfinal var context: ConversationKit.CallControlsContext { get set init }
@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
}