SwiftprotocolChronoServices

protocol ChronoServices.ControlsClientInterface

Members 19

  1. funcmethod descriptor for allControlConfigurationsByHost() async throws -> [String : CHSControlConfiguration]
  2. funcmethod descriptor for controlDescriptor(matching: CHSControlIdentity) async throws -> CHSControlDescriptor?
  3. funcmethod descriptor for fetchControlDescriptors(forExtensionBundleIdentifier: String, userInitiated: Bool, reason: String) async throws -> [CHSControlDescriptor]
  4. funcmethod descriptor for invalidateControlHost(host: ChronoServices._ControlHost) -> ()
  5. funcmethod descriptor for performControlAction(request: Foundation.Data) async throws -> ()
  6. funcmethod descriptor for reloadControls(forExtension: String, kind: String?, reason: String) -> ()
  7. funcmethod descriptor for sendPushToken(for: CHSControlIdentity) async throws -> ()
  8. funcmethod descriptor for sendPushUpdate(for: CHSControlIdentity) async throws -> ()
  9. funcmethod descriptor for setControlState(request: Foundation.Data) async throws -> ()
  10. funcmethod descriptor for setEnvironmentModifiers(_: Foundation.Data, forSession: ChronoServices.ControlSessionKey) -> ()
  11. funcmethod descriptor for setTaskPriority(_: ChronoServices.TaskPriority, forSession: ChronoServices.ControlSessionKey) -> ()
  12. funcmethod descriptor for setVisiblySettled(_: CHSControlVisibility, forSession: ChronoServices.ControlSessionKey) -> ()
  13. funcmethod descriptor for subscribeToSession(withRequest: ChronoServices.ControlSessionSubscriptionRequest, completion: (ChronoServices.ControlSessionSubscriptionResponse?, Error?) -> ()) -> ()
  14. funcmethod descriptor for unsubscribe(fromSession: ChronoServices.ControlSessionKey) -> ()
  15. funcmethod descriptor for unsubscribeToPushes(for: CHSControlIdentity) async throws -> ()
  16. funcmethod descriptor for updateControlHostActivationState(host: ChronoServices._ControlHost) -> ()
  17. funcmethod descriptor for updateControlHostConfiguration(host: ChronoServices._ControlHost) -> ()
  18. varvar liveControlsDidChangePublisher: Combine.AnyPublisher<[CHSControlIdentity], Never> { get }
  19. varvar previewControlsDidChangePublisher: Combine.AnyPublisher<[CHSControlIdentity], Never> { get }
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
}