SwiftprotocolSiriAppIntents

protocol SiriAppIntents.BidirectionalServiceConnectionProtocol

Members 6

  1. associatedtypeassociatedtype LocalService
  2. associatedtypeassociatedtype RemoteService
  3. funcmethod descriptor for call<A>((A.RemoteService.Interface) -> A1) throws -> A1
  4. funcmethod descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) throws -> A1
  5. funcmethod descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) async throws -> A1
  6. funcmethod descriptor for getCurrentConnectionState() -> SiriAppIntents.ConnectionState
protocol BidirectionalServiceConnectionProtocol where Self.LocalService: SiriAppIntents.XPCService, Self.RemoteService: SiriAppIntents.XPCService {
    associatedtype LocalService
    associatedtype RemoteService

    func getCurrentConnectionState() -> SiriAppIntents.ConnectionState
    func call<A1>(_: (_: Self.RemoteService.Interface) -> A1) throws -> A1
    func call<A1>(_: (Self.RemoteService.Interface, @escaping (A1?, (any Swift.Error)?) -> ()) -> ()) throws -> A1
    func call<A1>(_: (Self.RemoteService.Interface, @escaping (A1?, (any Swift.Error)?) -> ()) -> ()) async throws -> A1
}