current
TypeScriptstatic current(): (NSXPCConnection) | nullSwift declarationclass func current() -> NSXPCConnection?class · iOS 6.0+ · SDK 27.1
class NSXPCConnectionstatic current(): (NSXPCConnection) | nullSwift declarationclass func current() -> NSXPCConnection?activate(): voidSwift declarationfunc activate()static init(endpoint: NSXPCListenerEndpoint): NSXPCConnectionSwift declarationinit(listenerEndpoint endpoint: NSXPCListenerEndpoint)invalidate(): voidSwift declarationfunc invalidate()remoteObjectProxyWithErrorHandler(handler: ((arg0: NativeError) => void)): unknownSwift declarationfunc remoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Anyresume(): voidSwift declarationfunc resume()scheduleSendBarrierBlock(block: (() => void)): voidSwift declarationfunc scheduleSendBarrierBlock(_ block: @escaping () -> Void)suspend(): voidSwift declarationfunc suspend()synchronousRemoteObjectProxyWithErrorHandler(handler: ((arg0: NativeError) => void)): unknownSwift declarationfunc synchronousRemoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Anyget auditSessionIdentifier(): SDKHandleSwift declarationvar auditSessionIdentifier: au_asid_t { get }get effectiveGroupIdentifier(): SDKHandleSwift declarationvar effectiveGroupIdentifier: gid_t { get }get effectiveUserIdentifier(): SDKHandleSwift declarationvar effectiveUserIdentifier: uid_t { get }get endpoint(): NSXPCListenerEndpointSwift declarationvar endpoint: NSXPCListenerEndpoint { get }get exportedInterface(): (NSXPCInterface) | nullSwift declarationvar exportedInterface: NSXPCInterface? { get set }set exportedInterface(value: (NSXPCInterface) | null)Swift declarationvar exportedInterface: NSXPCInterface? { get set }get exportedObject(): (unknown) | nullSwift declarationvar exportedObject: Any? { get set }set exportedObject(value: (unknown) | null)Swift declarationvar exportedObject: Any? { get set }get interruptionHandler(): ((() => Promise<void>)) | nullSwift declarationvar interruptionHandler: (() -> Void)? { get set }set interruptionHandler(value: ((() => void)) | null)Swift declarationvar interruptionHandler: (() -> Void)? { get set }get invalidationHandler(): ((() => Promise<void>)) | nullSwift declarationvar invalidationHandler: (() -> Void)? { get set }set invalidationHandler(value: ((() => void)) | null)Swift declarationvar invalidationHandler: (() -> Void)? { get set }get processIdentifier(): SDKHandleSwift declarationvar processIdentifier: pid_t { get }get remoteObjectInterface(): (NSXPCInterface) | nullSwift declarationvar remoteObjectInterface: NSXPCInterface? { get set }set remoteObjectInterface(value: (NSXPCInterface) | null)Swift declarationvar remoteObjectInterface: NSXPCInterface? { get set }get remoteObjectProxy(): unknownSwift declarationvar remoteObjectProxy: Any { get }get serviceName(): (string) | nullSwift declarationvar serviceName: String? { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSXPCConnection.init()
inherited init: cannot prove legal (class declares 1 custom initializer)