Instance Property


The accessory’s unique ID for connecting to the iOS-based device.


var connectionID: Int { get }


The connection ID uniquely identifies this accessory to the device. If multiple accessories of the same type are connected to the device, you can use this information to distinguish between them.

The connection ID for an accessory persists only for the duration of the current connection. If the accessory is disconnected and reconnected, a new connection ID is assigned.

See Also

Getting Connection Information

var isConnected: Bool

A Boolean value indicating whether the accessory is currently connected to the iOS-based device.

Null Connection ID

The ID for an unconnected accessory.