Initializer

init(device:)

Creates an autorelease IOBluetoothDevicePair object with a device as the pairing target.

Declaration

convenience init!(device: IOBluetoothDevice!)

Parameters

device

An IOBluetoothDevice to attept to pair with. The device is retained.

Return Value

Returns an IOReturn or Bluetooth error code, if the pairing could not be started.