SwiftclassFaceTimeNotificationUI
CallScreeningViewModel
@Observable class FaceTimeNotificationUI.CallScreeningViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolObservation.Observable
Members 42
- deinit
deinit - field
let _$observationRegistrar: Observation.ObservationRegistrar - field
var _activity: (CommunicationsUI.IntelligenceBodyViewModel, CommunicationsUI.ParticipantLabelViewModel, CommunicationsUI.IntelligenceMessageViewModel, CommunicationsUI.TrailingLabelViewModel)? - field
var _isShowingTranscripts: Bool - field
var _onReceptionistViewTap: (() -> ())? - field
var _prepareToShowCall: (() -> ())? - field
var _receptionistReplyStarted: Bool - field
var _shouldShowBlockButtonForUnknownCallerWhileScreening: Bool - field
var _statusLabel: String? - field
var _typeToSpeakEnabled: Bool - field
let answeringMachine: CNKAnsweringMachine - field
let call: FaceTimeNotificationCore.FTNCall - field
let callCenter: FaceTimeNotificationCore.FTNCallCenter - field
let featureFlags: TUFeatureFlags - field
let features: CommunicationsUICore.Features - field
var isLiveReply: Bool - field
let logger: os.Logger - field
var userInputStateCancellable: Combine.AnyCancellable? - func
block() -> () - func
clearActivity() -> () - func
declineWithReminder() -> () - func
sendReceptionistReply(String) -> () - func
sendToLiveVoicemail() -> () - func
startLiveReply() async -> () - func
startReceptionistReply() -> () - func
startScreening(manualScreening: Bool, receptionist: Bool) async -> Bool - func
stopLiveVoicemail() -> () - func
update(Bool) -> () - func
updateAnswerRequest(inout FaceTimeNotificationCore.FTNAnswerRequest) -> () - func
updateBlockButtonVisibility(with: Bool) -> () - init
FaceTimeNotificationUI.CallScreeningViewModel.__allocating_init(call: FaceTimeNotificationCore.FTNCall, callCenter: FaceTimeNotificationCore.FTNCallCenter, answeringMachine: CNKAnsweringMachine, features: CommunicationsUICore.Features) -> FaceTimeNotificationUI.CallScreeningViewModel - init
FaceTimeNotificationUI.CallScreeningViewModel.__allocating_init(call: FaceTimeNotificationCore.FTNCall, callCenter: FaceTimeNotificationCore.FTNCallCenter, features: CommunicationsUICore.Features) -> FaceTimeNotificationUI.CallScreeningViewModel - var
final var activity: (CommunicationsUI.IntelligenceBodyViewModel, CommunicationsUI.ParticipantLabelViewModel, CommunicationsUI.IntelligenceMessageViewModel, CommunicationsUI.TrailingLabelViewModel)? { get } - var
final var changesPublisher: Combine.AnyPublisher<(), Never> { get } - var
final var isShowingTranscripts: Bool { get } - var
final var onReceptionistViewTap: (() -> ())? { get set } - var
final var prepareToShowCall: (() -> ())? { get set } - var
final var receptionistReplyStarted: Bool { get set } - var
final var shouldShowBlockButtonForUnknownCallerWhileScreening: Bool { get } - var
final var statusLabel: String? { get } - var
final var supportAutomaticScreening: Bool { get } - var
final var typeToSpeakEnabled: Bool { get }
Header
@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 }