SwiftactorCompanionSetupKit
actor CompanionSetupKit.CSKServer
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCoreUtilsSwift.CUEnvironmental
- protocolCoreUtilsSwift.CUEventReporter
- protocolSwift.Actor
Members 42
- deinit
deinit - field
var _audioPairingLoopCount: Int - field
var _audioPairingPassword: String? - field
var _audioPairingPlayContinuation: CheckedContinuation<Bool, Error>? - field
var _audioPairingPlayer: APCPlayer? - field
var _bluetoothAdvertiser: CBAdvertiser? - field
var _bluetoothAdvertiserNeeded: Bool - field
var _cancelCalled: Bool+0x10 - field
var _configuration: CompanionSetupKit.CSKServer.Configuration - field
var _currentPassword: String? - field
var _eventContinuations: [UInt64 : AsyncStream<CompanionSetupKit.CSKServer.Event>.Continuation] - field
var _eventHandler: (@Sendable (CompanionSetupKit.CSKServer.Event) async -> ())? - field
var _finishCalled: Bool - field
var _identitiesChangedNotification: CoreUtilsSwift.CUDarwinNotification? - field
var _idleTimerDisable: CompanionSetupKit.CSKIdleTimerDisable? - field
let _logger: os.Logger - field
var _nexusConnections: Set<Nexus.NXConnection> - field
var _nexusReady: Bool - field
var _nexusRequestHandlers: [Nexus.NXSession.RequestHandlerRegistration] - field
var _nexusStarted: Bool - field
var _ready: Bool - field
var _selfIdentity: RPIdentity? - field
var _sharingClient: SFClient? - field
var _storedSensitivePeerData: Bool - field
var _systemMonitor: CUSystemMonitor? - field
var _updatePending: Bool - field
var _updateRunning: Bool - field
let environment: CoreUtilsSwift.CUEnvironmentValues - field
let nexusSession: Nexus.NXSession - field
var peerLanguageCode: String? - field
var peerLocaleIdentifier: String? - func
_report(event: CompanionSetupKit.CSKServer.Event) -> () - func
cancel(informClient: Bool) async -> () - func
finish() async -> () - func
perform(command: CompanionSetupKit.CSKServer.Command) async throws -> () - func
setEventHandler(@isolated(any) @Sendable (CompanionSetupKit.CSKServer.Event) async -> ()) -> () - func
start() async -> () - func
statusUpdated(CompanionSetupKit.CSKStatus) -> () - init
CompanionSetupKit.CSKServer.__allocating_init(configuration: CompanionSetupKit.CSKServer.Configuration, environment: CoreUtilsSwift.CUEnvironmentValues) -> CompanionSetupKit.CSKServer - typealias
typealias Command = Command - typealias
typealias Event = Event - var
var storedSensitivePeerData: Bool { get set }
Header
actor CSKServer { enum Command { enum CodingKeys { case authenticationConfigure case nexusSession case statusUpdate case updateBluetoothAdvertiserNeeded } enum AuthenticationConfigureCodingKeys { case _0 } enum NexusSessionCodingKeys { case _0 } enum StatusUpdateCodingKeys { case _0 } enum UpdateBluetoothAdvertiserNeededCodingKeys { case _0 } case authenticationConfigure(Nexus.NXAuthenticationConfiguration) case nexusSession(Nexus.NXSession.Command) case statusUpdate(CompanionSetupKit.CSKStatus) case updateBluetoothAdvertiserNeeded(Swift.Bool) var description: Swift.String { get } } enum Event { case activationServer(CompanionSetupKit.CSKStepActivationServer.Event) case appleAccountServer(CompanionSetupKit.CSKStepAppleAccountSetupEvent) case audioPairingEvent(CompanionSetupKit.CSKServer.AudioPairingEvent) case authenticationPresent(Nexus.NXAuthenticationPresentInfo) case authenticationCompleted(Nexus.NXAuthenticationCompletedInfo) case basicConfig(CompanionSetupKit.CSKBasicConfigEvent) case bluetoothAdvertiserFailed(reason: CoreUtilsSwift.CUError) case homeKitSetupServer(CompanionSetupKit.CSKStepHomeKitSetupServer.Event) case nexusSession(Nexus.NXSession.Event) case statusUpdated(CompanionSetupKit.CSKStatus) case wifiServer(CompanionSetupKit.CSKStepWiFiSetupEvent) case bluetoothAdvertiserStarted case bluetoothAdvertiserStopped case clientCanceled case disconnected case finished case restartImminent case serverInactive case serverReady case sessionReady var description: Swift.String { get } } enum AudioPairingEvent { case started case play var description: Swift.String { get } } struct Configuration { var allowedPairingKeyTypes: [Nexus.NXConnection.PairingKeyType]? var audioPairingResourceName: Swift.String? var awdlEnabled: Swift.Bool var bluetoothAdvertiserConfiguration: CompanionSetupKit.CSKBluetoothAdvertiserConfiguration? var nexusSessionConfiguration: Nexus.NXSession.Configuration? var passwordType: __C.PairingSetupCodeType? var useAuthTag: Swift.Bool init(bluetoothAdvertiserConfiguration: CompanionSetupKit.CSKBluetoothAdvertiserConfiguration?, nexusSessionConfiguration: Nexus.NXSession.Configuration?) init() var clientLabel: Swift.String { get } var description: Swift.String { get } } var _cancelCalled: Swift.Bool var _configuration: CompanionSetupKit.CSKServer.Configuration var _currentPassword: Swift.String? let environment: CoreUtilsSwift.CUEnvironmentValues var _eventContinuations: [Swift.UInt64 : Swift.AsyncStream<CompanionSetupKit.CSKServer.Event>.Continuation] var _finishCalled: Swift.Bool var _idleTimerDisable: CompanionSetupKit.CSKIdleTimerDisable? let _logger: os.Logger var peerLanguageCode: Swift.String? var peerLocaleIdentifier: Swift.String? var _ready: Swift.Bool var _storedSensitivePeerData: Swift.Bool var _systemMonitor: __C.CUSystemMonitor? var _updatePending: Swift.Bool var _updateRunning: Swift.Bool var _eventHandler: (@Sendable (_: CompanionSetupKit.CSKServer.Event) async -> ())? var _audioPairingLoopCount: Swift.Int var _audioPairingPassword: Swift.String? var _audioPairingPlayContinuation: Swift.CheckedContinuation<Swift.Bool, any Swift.Error>? var _audioPairingPlayer: __C.APCPlayer? var _bluetoothAdvertiser: __C.CBAdvertiser? var _bluetoothAdvertiserNeeded: Swift.Bool var _sharingClient: __C.SFClient? var _identitiesChangedNotification: CoreUtilsSwift.CUDarwinNotification? var _selfIdentity: __C.RPIdentity? let nexusSession: Nexus.NXSession var _nexusConnections: Swift.Set<Nexus.NXConnection> var _nexusReady: Swift.Bool var _nexusStarted: Swift.Bool var _nexusRequestHandlers: [Nexus.NXSession.RequestHandlerRegistration] init(configuration: CompanionSetupKit.CSKServer.Configuration, environment: CoreUtilsSwift.CUEnvironmentValues) var storedSensitivePeerData: Swift.Bool { get set } func statusUpdated(_: CompanionSetupKit.CSKStatus) func setEventHandler(_: @escaping @isolated(any) @Sendable (_: CompanionSetupKit.CSKServer.Event) async -> ()) func start() async func cancel(informClient: Swift.Bool) async func finish() async func _report(event: CompanionSetupKit.CSKServer.Event) func perform(command: CompanionSetupKit.CSKServer.Command) async throws deinit }