SwiftclassFaceTimeNotificationUI

@Observable class FaceTimeNotificationUI.CallScreeningViewModel

Structure

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

inherits{}

Members 42

  1. deinitdeinit
  2. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  3. fieldvar _activity: (CommunicationsUI.IntelligenceBodyViewModel, CommunicationsUI.ParticipantLabelViewModel, CommunicationsUI.IntelligenceMessageViewModel, CommunicationsUI.TrailingLabelViewModel)?
  4. fieldvar _isShowingTranscripts: Bool
  5. fieldvar _onReceptionistViewTap: (() -> ())?
  6. fieldvar _prepareToShowCall: (() -> ())?
  7. fieldvar _receptionistReplyStarted: Bool
  8. fieldvar _shouldShowBlockButtonForUnknownCallerWhileScreening: Bool
  9. fieldvar _statusLabel: String?
  10. fieldvar _typeToSpeakEnabled: Bool
  11. fieldlet answeringMachine: CNKAnsweringMachine
  12. fieldlet call: FaceTimeNotificationCore.FTNCall
  13. fieldlet callCenter: FaceTimeNotificationCore.FTNCallCenter
  14. fieldlet featureFlags: TUFeatureFlags
  15. fieldlet features: CommunicationsUICore.Features
  16. fieldvar isLiveReply: Bool
  17. fieldlet logger: os.Logger
  18. fieldvar userInputStateCancellable: Combine.AnyCancellable?
  19. funcblock() -> ()
  20. funcclearActivity() -> ()
  21. funcdeclineWithReminder() -> ()
  22. funcsendReceptionistReply(String) -> ()
  23. funcsendToLiveVoicemail() -> ()
  24. funcstartLiveReply() async -> ()
  25. funcstartReceptionistReply() -> ()
  26. funcstartScreening(manualScreening: Bool, receptionist: Bool) async -> Bool
  27. funcstopLiveVoicemail() -> ()
  28. funcupdate(Bool) -> ()
  29. funcupdateAnswerRequest(inout FaceTimeNotificationCore.FTNAnswerRequest) -> ()
  30. funcupdateBlockButtonVisibility(with: Bool) -> ()
  31. initFaceTimeNotificationUI.CallScreeningViewModel.__allocating_init(call: FaceTimeNotificationCore.FTNCall, callCenter: FaceTimeNotificationCore.FTNCallCenter, answeringMachine: CNKAnsweringMachine, features: CommunicationsUICore.Features) -> FaceTimeNotificationUI.CallScreeningViewModel
  32. initFaceTimeNotificationUI.CallScreeningViewModel.__allocating_init(call: FaceTimeNotificationCore.FTNCall, callCenter: FaceTimeNotificationCore.FTNCallCenter, features: CommunicationsUICore.Features) -> FaceTimeNotificationUI.CallScreeningViewModel
  33. varfinal var activity: (CommunicationsUI.IntelligenceBodyViewModel, CommunicationsUI.ParticipantLabelViewModel, CommunicationsUI.IntelligenceMessageViewModel, CommunicationsUI.TrailingLabelViewModel)? { get }
  34. varfinal var changesPublisher: Combine.AnyPublisher<(), Never> { get }
  35. varfinal var isShowingTranscripts: Bool { get }
  36. varfinal var onReceptionistViewTap: (() -> ())? { get set }
  37. varfinal var prepareToShowCall: (() -> ())? { get set }
  38. varfinal var receptionistReplyStarted: Bool { get set }
  39. varfinal var shouldShowBlockButtonForUnknownCallerWhileScreening: Bool { get }
  40. varfinal var statusLabel: String? { get }
  41. varfinal var supportAutomaticScreening: Bool { get }
  42. varfinal var typeToSpeakEnabled: Bool { get }
@Observation.Observable
class CallScreeningViewModel {
    let logger: os.Logger
    let features: CommunicationsUICore.Features
    final var isShowingTranscripts: Swift.Bool
    final var receptionistReplyStarted: Swift.Bool
    final var shouldShowBlockButtonForUnknownCallerWhileScreening: Swift.Bool
    final var prepareToShowCall: (() -> ())?
    final var onReceptionistViewTap: (() -> ())?
    final var activity: (CommunicationsUI.IntelligenceBodyViewModel, CommunicationsUI.ParticipantLabelViewModel, CommunicationsUI.IntelligenceMessageViewModel, CommunicationsUI.TrailingLabelViewModel)?
    final var statusLabel: Swift.String?
    final var typeToSpeakEnabled: Swift.Bool
    let featureFlags: __C.TUFeatureFlags
    let answeringMachine: any __C.CNKAnsweringMachine
    let call: any FaceTimeNotificationCore.FTNCall
    let callCenter: any FaceTimeNotificationCore.FTNCallCenter
    @Observation.ObservationIgnored
    var isLiveReply: Swift.Bool
    @Observation.ObservationIgnored
    var userInputStateCancellable: Combine.AnyCancellable?

    init(call: any FaceTimeNotificationCore.FTNCall, callCenter: any FaceTimeNotificationCore.FTNCallCenter, answeringMachine: any __C.CNKAnsweringMachine, features: CommunicationsUICore.Features)

    init(call: any FaceTimeNotificationCore.FTNCall, callCenter: any FaceTimeNotificationCore.FTNCallCenter, features: CommunicationsUICore.Features)

    final var changesPublisher: Combine.AnyPublisher<(), Swift.Never> {
        get
    }
    final var supportAutomaticScreening: Swift.Bool {
        get
    }

    final func startScreening(manualScreening: Swift.Bool, receptionist: Swift.Bool) async -> Swift.Bool
    final func clearActivity()
    final func startLiveReply() async
    final func stopLiveVoicemail()
    final func declineWithReminder()
    final func sendToLiveVoicemail()
    final func updateAnswerRequest(_: inout any FaceTimeNotificationCore.FTNAnswerRequest)
    final func sendReceptionistReply(_: Swift.String)
    final func startReceptionistReply()
    final func updateBlockButtonVisibility(with: Swift.Bool)
    final func block()
    final func update(_: Swift.Bool)

    deinit
}