Null Connection ID

The ID for an unconnected accessory.

See Also

Getting Connection Information

var isConnected: Bool

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

var connectionID: Int

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