One Logo Pool Ball
Foundation · IOS API REFERENCE

NSXPCConnection

class · iOS 6.0+ · SDK 27.1

class NSXPCConnection

Members (26)

static · iOS 6.0+

current

TypeScript
static current(): (NSXPCConnection) | null
Swift declaration
class func current() -> NSXPCConnection?
method · iOS 14.0+

activate

TypeScript
activate(): void
Swift declaration
func activate()
init · iOS 6.0+

init

TypeScript
static init(endpoint: NSXPCListenerEndpoint): NSXPCConnection
Swift declaration
init(listenerEndpoint endpoint: NSXPCListenerEndpoint)
method · iOS 6.0+

invalidate

TypeScript
invalidate(): void
Swift declaration
func invalidate()
method · iOS 6.0+

remoteObjectProxyWithErrorHandler

TypeScript
remoteObjectProxyWithErrorHandler(handler: ((arg0: NativeError) => void)): unknown
Swift declaration
func remoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Any
method · iOS 6.0+

resume

TypeScript
resume(): void
Swift declaration
func resume()
method · iOS 13.0+

scheduleSendBarrierBlock

TypeScript
scheduleSendBarrierBlock(block: (() => void)): void
Swift declaration
func scheduleSendBarrierBlock(_ block: @escaping () -> Void)
method · iOS 6.0+

suspend

TypeScript
suspend(): void
Swift declaration
func suspend()
method · iOS 9.0+

synchronousRemoteObjectProxyWithErrorHandler

TypeScript
synchronousRemoteObjectProxyWithErrorHandler(handler: ((arg0: NativeError) => void)): unknown
Swift declaration
func synchronousRemoteObjectProxyWithErrorHandler(_ handler: @escaping (any Error) -> Void) -> Any
get · iOS 6.0+

auditSessionIdentifier

TypeScript
get auditSessionIdentifier(): SDKHandle
Swift declaration
var auditSessionIdentifier: au_asid_t { get }
get · iOS 6.0+

effectiveGroupIdentifier

TypeScript
get effectiveGroupIdentifier(): SDKHandle
Swift declaration
var effectiveGroupIdentifier: gid_t { get }
get · iOS 6.0+

effectiveUserIdentifier

TypeScript
get effectiveUserIdentifier(): SDKHandle
Swift declaration
var effectiveUserIdentifier: uid_t { get }
get · iOS 6.0+

endpoint

TypeScript
get endpoint(): NSXPCListenerEndpoint
Swift declaration
var endpoint: NSXPCListenerEndpoint { get }
get · iOS 6.0+

exportedInterface

TypeScript
get exportedInterface(): (NSXPCInterface) | null
Swift declaration
var exportedInterface: NSXPCInterface? { get set }
set · iOS 6.0+

exportedInterface

TypeScript
set exportedInterface(value: (NSXPCInterface) | null)
Swift declaration
var exportedInterface: NSXPCInterface? { get set }
get · iOS 6.0+

exportedObject

TypeScript
get exportedObject(): (unknown) | null
Swift declaration
var exportedObject: Any? { get set }
set · iOS 6.0+

exportedObject

TypeScript
set exportedObject(value: (unknown) | null)
Swift declaration
var exportedObject: Any? { get set }
get · iOS 6.0+

interruptionHandler

TypeScript
get interruptionHandler(): ((() => Promise<void>)) | null
Swift declaration
var interruptionHandler: (() -> Void)? { get set }
set · iOS 6.0+

interruptionHandler

TypeScript
set interruptionHandler(value: ((() => void)) | null)
Swift declaration
var interruptionHandler: (() -> Void)? { get set }
get · iOS 6.0+

invalidationHandler

TypeScript
get invalidationHandler(): ((() => Promise<void>)) | null
Swift declaration
var invalidationHandler: (() -> Void)? { get set }
set · iOS 6.0+

invalidationHandler

TypeScript
set invalidationHandler(value: ((() => void)) | null)
Swift declaration
var invalidationHandler: (() -> Void)? { get set }
get · iOS 6.0+

processIdentifier

TypeScript
get processIdentifier(): SDKHandle
Swift declaration
var processIdentifier: pid_t { get }
get · iOS 6.0+

remoteObjectInterface

TypeScript
get remoteObjectInterface(): (NSXPCInterface) | null
Swift declaration
var remoteObjectInterface: NSXPCInterface? { get set }
set · iOS 6.0+

remoteObjectInterface

TypeScript
set remoteObjectInterface(value: (NSXPCInterface) | null)
Swift declaration
var remoteObjectInterface: NSXPCInterface? { get set }
get · iOS 6.0+

remoteObjectProxy

TypeScript
get remoteObjectProxy(): unknown
Swift declaration
var remoteObjectProxy: Any { get }
get · iOS 6.0+

serviceName

TypeScript
get serviceName(): (string) | null
Swift declaration
var serviceName: String? { get }

Skipped declarations

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)

All Foundation types →