SwiftclassLocalAuthenticationCoreUI
LACUIRatchetViewModel
class LocalAuthenticationCoreUI.LACUIRatchetViewModel
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 29
- func
static mapError(Error?) -> Error? - deinit
deinit - field
let configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration - field
lazy var context: LACContext? - field
let contextProvider: LACContextProviding - field
var expirationDate: Foundation.Date? - field
var gracePeriodExpirationDate: Foundation.Date? - field
var isInvalidated: Bool - field
var isRunning: Bool - field
var isStrictModeEnabled: Bool - field
lazy var learnMoreSubject: Combine.PassthroughSubject<(), Never>? - field
let options: [AnyHashable : Any] - field
lazy var ratchetIdentifier: String? - field
var ratchetManager: LACDTORatchetManager - field
var state: LocalAuthenticationCoreUI.LACUIRatchetViewModel.State - field
lazy var stateSubject: Combine.CurrentValueSubject<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Never>? - field
lazy var tapToRadarSubject: Combine.PassthroughSubject<(), Never>? - field
var tasks: [Task<(), Never>] - field
var uiContinuation: CheckedContinuation<[AnyHashable : Any]?, Error>? - func
handle(action: LocalAuthenticationCoreUI.LACUIAuthActionCountdown) -> () - func
ratchetStateDidChange(LACDTORatchetState) -> () - func
start() -> () - func
stop(withReason: String, invalidate: Bool) -> () - func
stop(withReason: String, invalidate: Bool) async -> () - init
LocalAuthenticationCoreUI.LACUIRatchetViewModel.__allocating_init(contextProvider: LACContextProviding, options: [AnyHashable : Any], configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration) -> LocalAuthenticationCoreUI.LACUIRatchetViewModel - init
LocalAuthenticationCoreUI.LACUIRatchetViewModel.__allocating_init() -> LocalAuthenticationCoreUI.LACUIRatchetViewModel - var
var learnMorePublisher: Combine.AnyPublisher<(), Never> { get } - var
var statePublisher: Combine.AnyPublisher<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Never> { get } - var
var tapToRadarPublisher: Combine.AnyPublisher<(), Never> { get }
Header
class LACUIRatchetViewModel: __C.NSObject, __C.LACDTORatchetObserver, __C.LACUIRatchetViewModelType { enum State { case beginDelay(configuration: LocalAuthenticationCoreUI.LACUIAuthCountdownConfiguration) case gracePeriodActive(configuration: LocalAuthenticationCoreUI.LACUIAuthCountdownConfiguration) case countdown(configuration: LocalAuthenticationCoreUI.LACUIAuthCountdownConfiguration) case countdownEnded(configuration: LocalAuthenticationCoreUI.LACUIAuthCountdownConfiguration) case finish(result: [Swift.AnyHashable : Any]?, error: (any Swift.Error)?) case initial case evaluating } let configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration var isInvalidated: Swift.Bool var state: LocalAuthenticationCoreUI.LACUIRatchetViewModel.State var isRunning: Swift.Bool lazy var stateSubject: Combine.CurrentValueSubject<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Swift.Never>? lazy var learnMoreSubject: Combine.PassthroughSubject<(), Swift.Never>? lazy var tapToRadarSubject: Combine.PassthroughSubject<(), Swift.Never>? let options: [Swift.AnyHashable : Any] let contextProvider: any __C.LACContextProviding lazy var ratchetIdentifier: Swift.String? var ratchetManager: __C.LACDTORatchetManager lazy var context: (any __C.LACContext)? var tasks: [Swift.Task<(), Swift.Never>] var uiContinuation: Swift.CheckedContinuation<[Swift.AnyHashable : Any]?, any Swift.Error>? var expirationDate: Foundation.Date? var gracePeriodExpirationDate: Foundation.Date? var isStrictModeEnabled: Swift.Bool var statePublisher: Combine.AnyPublisher<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Swift.Never> { get } var learnMorePublisher: Combine.AnyPublisher<(), Swift.Never> { get } var tapToRadarPublisher: Combine.AnyPublisher<(), Swift.Never> { get } init(contextProvider: any __C.LACContextProviding, options: [Swift.AnyHashable : Any], configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration) func start() func stop(withReason: Swift.String, invalidate: Swift.Bool) func stop(withReason: Swift.String, invalidate: Swift.Bool) async class func mapError(_: (any Swift.Error)?) -> (any Swift.Error)? init() @objc func ratchetStateDidChange(_: __C.LACDTORatchetState) final func handle(action: LocalAuthenticationCoreUI.LACUIAuthActionCountdown) deinit }