SwiftactorCompanionSetupKit

actor CompanionSetupKit.CSKPhotoSetupClient

Structure

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

Members 21

  1. deinitdeinit
  2. fieldvar __client: CompanionSetupKit.CSKClient?+0x18
  3. fieldvar _canceled: Bool+0x10
  4. fieldvar _clientConfigured: Bool
  5. fieldvar _clientReady: Bool+0x20
  6. fieldvar _clientReadySemaphore: CoreUtilsSwift.CUAsyncSemaphore?+0x28
  7. fieldlet _configuration: CompanionSetupKit.CSKPhotoSetupClientConfiguration+0x30
  8. fieldvar _eventHandler: (@Sendable (CompanionSetupKit.CSKPhotoSetupClient.Event) async -> ())?
  9. fieldvar _finished: Bool
  10. fieldvar _serverCanceled: Bool
  11. fieldvar _started: Bool
  12. fieldvar _stepPhotoSetup: CompanionSetupKit.CSKStepPhotoSetupClient?
  13. fieldvar _stepPhotoSetupEventTask: Task<(), Error>?
  14. fieldlet environment: CoreUtilsSwift.CUEnvironmentValues
  15. func_report(event: CompanionSetupKit.CSKPhotoSetupClient.Event) -> ()
  16. funccancel() async -> ()
  17. funcperform(command: CompanionSetupKit.CSKPhotoSetupClient.Command) async throws -> ()
  18. funcpreStart() async -> ()
  19. funcsetEventHandler(@isolated(any) @Sendable (CompanionSetupKit.CSKPhotoSetupClient.Event) async -> ()) -> ()
  20. funcsetup() async throws -> CompanionSetupKit.CSKPhotoSetupClientReport
  21. initCompanionSetupKit.CSKPhotoSetupClient.__allocating_init(configuration: CompanionSetupKit.CSKPhotoSetupClientConfiguration, environment: CoreUtilsSwift.CUEnvironmentValues) -> CompanionSetupKit.CSKPhotoSetupClient
actor CSKPhotoSetupClient {
    enum Command {
        case authenticationAttempt(Nexus.NXAuthenticationAttemptInfo)
        case authenticationConfigure(Nexus.NXAuthenticationConfiguration)
        case photoSetup(CompanionSetupKit.CSKStepPhotoSetupClient.Command)
        case speakPasscode

        var description: Swift.String {
            get
        }
    }
    enum Event {
        case authenticationRequest(Nexus.NXAuthenticationRequestInfo)
        case authenticationCompleted(Nexus.NXAuthenticationCompletedInfo)
        case client(CompanionSetupKit.CSKClient.Event)
        case photoSetupEvent(CompanionSetupKit.CSKStepPhotoSetupClient.Event)

        var description: Swift.String {
            get
        }
    }
    var _canceled: Swift.Bool
    var __client: CompanionSetupKit.CSKClient?
    var _clientReady: Swift.Bool
    var _clientReadySemaphore: CoreUtilsSwift.CUAsyncSemaphore?
    let _configuration: CompanionSetupKit.CSKPhotoSetupClientConfiguration
    let environment: CoreUtilsSwift.CUEnvironmentValues
    var _finished: Swift.Bool
    var _serverCanceled: Swift.Bool
    var _started: Swift.Bool
    var _stepPhotoSetup: CompanionSetupKit.CSKStepPhotoSetupClient?
    var _stepPhotoSetupEventTask: Swift.Task<(), any Swift.Error>?
    var _clientConfigured: Swift.Bool
    var _eventHandler: (@Sendable (_: CompanionSetupKit.CSKPhotoSetupClient.Event) async -> ())?

    init(configuration: CompanionSetupKit.CSKPhotoSetupClientConfiguration, environment: CoreUtilsSwift.CUEnvironmentValues)

    func setEventHandler(_: @escaping @isolated(any) @Sendable (_: CompanionSetupKit.CSKPhotoSetupClient.Event) async -> ())
    func setup() async throws -> CompanionSetupKit.CSKPhotoSetupClientReport
    func cancel() async
    func _report(event: CompanionSetupKit.CSKPhotoSetupClient.Event)
    func perform(command: CompanionSetupKit.CSKPhotoSetupClient.Command) async throws
    func preStart() async

    deinit
}