SwiftprotocolChronoServices
ControlsClientInterface
protocol ChronoServices.ControlsClientInterface
Members 19
- func
method descriptor for allControlConfigurationsByHost() async throws -> [String : CHSControlConfiguration] - func
method descriptor for controlDescriptor(matching: CHSControlIdentity) async throws -> CHSControlDescriptor? - func
method descriptor for fetchControlDescriptors(forExtensionBundleIdentifier: String, userInitiated: Bool, reason: String) async throws -> [CHSControlDescriptor] - func
method descriptor for invalidateControlHost(host: ChronoServices._ControlHost) -> () - func
method descriptor for performControlAction(request: Foundation.Data) async throws -> () - func
method descriptor for reloadControls(forExtension: String, kind: String?, reason: String) -> () - func
method descriptor for sendPushToken(for: CHSControlIdentity) async throws -> () - func
method descriptor for sendPushUpdate(for: CHSControlIdentity) async throws -> () - func
method descriptor for setControlState(request: Foundation.Data) async throws -> () - func
method descriptor for setEnvironmentModifiers(_: Foundation.Data, forSession: ChronoServices.ControlSessionKey) -> () - func
method descriptor for setTaskPriority(_: ChronoServices.TaskPriority, forSession: ChronoServices.ControlSessionKey) -> () - func
method descriptor for setVisiblySettled(_: CHSControlVisibility, forSession: ChronoServices.ControlSessionKey) -> () - func
method descriptor for subscribeToSession(withRequest: ChronoServices.ControlSessionSubscriptionRequest, completion: (ChronoServices.ControlSessionSubscriptionResponse?, Error?) -> ()) -> () - func
method descriptor for unsubscribe(fromSession: ChronoServices.ControlSessionKey) -> () - func
method descriptor for unsubscribeToPushes(for: CHSControlIdentity) async throws -> () - func
method descriptor for updateControlHostActivationState(host: ChronoServices._ControlHost) -> () - func
method descriptor for updateControlHostConfiguration(host: ChronoServices._ControlHost) -> () - var
var liveControlsDidChangePublisher: Combine.AnyPublisher<[CHSControlIdentity], Never> { get } - var
var previewControlsDidChangePublisher: Combine.AnyPublisher<[CHSControlIdentity], Never> { get }
Header
protocol ControlsClientInterface { var liveControlsDidChangePublisher: Combine.AnyPublisher<[__C.CHSControlIdentity], Swift.Never> { get } var previewControlsDidChangePublisher: Combine.AnyPublisher<[__C.CHSControlIdentity], Swift.Never> { get } func reloadControls(forExtension: Swift.String, kind: Swift.String?, reason: Swift.String) func fetchControlDescriptors(forExtensionBundleIdentifier: Swift.String, userInitiated: Swift.Bool, reason: Swift.String) async throws -> [__C.CHSControlDescriptor] func controlDescriptor(matching: __C.CHSControlIdentity) async throws -> __C.CHSControlDescriptor? func updateControlHostConfiguration(host: ChronoServices._ControlHost) func updateControlHostActivationState(host: ChronoServices._ControlHost) func invalidateControlHost(host: ChronoServices._ControlHost) func allControlConfigurationsByHost() async throws -> [Swift.String : __C.CHSControlConfiguration] func sendPushToken(for: __C.CHSControlIdentity) async throws func sendPushUpdate(for: __C.CHSControlIdentity) async throws func unsubscribeToPushes(for: __C.CHSControlIdentity) async throws func subscribeToSession(withRequest: ChronoServices.ControlSessionSubscriptionRequest, completion: @escaping (ChronoServices.ControlSessionSubscriptionResponse?, (any Swift.Error)?) -> ()) func unsubscribe(fromSession: ChronoServices.ControlSessionKey) func setVisiblySettled(_: __C.CHSControlVisibility, forSession: ChronoServices.ControlSessionKey) func setTaskPriority(_: ChronoServices.TaskPriority, forSession: ChronoServices.ControlSessionKey) func setEnvironmentModifiers(_: Foundation.Data, forSession: ChronoServices.ControlSessionKey) func setControlState(request: Foundation.Data) async throws func performControlAction(request: Foundation.Data) async throws }