SwiftclassLocalAuthenticationCoreUI

class LocalAuthenticationCoreUI.LACUIRatchetViewModel

Structure

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

Members 29

  1. funcstatic mapError(Error?) -> Error?
  2. deinitdeinit
  3. fieldlet configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration
  4. fieldlazy var context: LACContext?
  5. fieldlet contextProvider: LACContextProviding
  6. fieldvar expirationDate: Foundation.Date?
  7. fieldvar gracePeriodExpirationDate: Foundation.Date?
  8. fieldvar isInvalidated: Bool
  9. fieldvar isRunning: Bool
  10. fieldvar isStrictModeEnabled: Bool
  11. fieldlazy var learnMoreSubject: Combine.PassthroughSubject<(), Never>?
  12. fieldlet options: [AnyHashable : Any]
  13. fieldlazy var ratchetIdentifier: String?
  14. fieldvar ratchetManager: LACDTORatchetManager
  15. fieldvar state: LocalAuthenticationCoreUI.LACUIRatchetViewModel.State
  16. fieldlazy var stateSubject: Combine.CurrentValueSubject<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Never>?
  17. fieldlazy var tapToRadarSubject: Combine.PassthroughSubject<(), Never>?
  18. fieldvar tasks: [Task<(), Never>]
  19. fieldvar uiContinuation: CheckedContinuation<[AnyHashable : Any]?, Error>?
  20. funchandle(action: LocalAuthenticationCoreUI.LACUIAuthActionCountdown) -> ()
  21. funcratchetStateDidChange(LACDTORatchetState) -> ()
  22. funcstart() -> ()
  23. funcstop(withReason: String, invalidate: Bool) -> ()
  24. funcstop(withReason: String, invalidate: Bool) async -> ()
  25. initLocalAuthenticationCoreUI.LACUIRatchetViewModel.__allocating_init(contextProvider: LACContextProviding, options: [AnyHashable : Any], configuration: LocalAuthenticationCoreUI.LACUIRatchetViewModelConfiguration) -> LocalAuthenticationCoreUI.LACUIRatchetViewModel
  26. initLocalAuthenticationCoreUI.LACUIRatchetViewModel.__allocating_init() -> LocalAuthenticationCoreUI.LACUIRatchetViewModel
  27. varvar learnMorePublisher: Combine.AnyPublisher<(), Never> { get }
  28. varvar statePublisher: Combine.AnyPublisher<LocalAuthenticationCoreUI.LACUIRatchetViewModel.State, Never> { get }
  29. varvar tapToRadarPublisher: Combine.AnyPublisher<(), Never> { get }
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
}