init(device:channelID:)
Initializes a Bluetooth-based OBEX Session using a Bluetooth device.
Declaration
init!(device inDevice: IOBluetoothDevice!, channelID inChannelID: BluetoothRFCOMMChannelID)Parameters
- inDevice:
The bluetooth device on which to open the OBEXSession.
- inChannelID:
The RFCOMM channel ID to use when opening the connection.