SwiftprotocolSiriAppIntents
BidirectionalServiceConnectionProtocol
protocol SiriAppIntents.BidirectionalServiceConnectionProtocol
Members 6
- associatedtype
associatedtype LocalService - associatedtype
associatedtype RemoteService - func
method descriptor for call<A>((A.RemoteService.Interface) -> A1) throws -> A1 - func
method descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) throws -> A1 - func
method descriptor for call<A>((A.RemoteService.Interface, (A1?, Error?) -> ()) -> ()) async throws -> A1 - func
method descriptor for getCurrentConnectionState() -> SiriAppIntents.ConnectionState
Header
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 }