Initializer

init(incomingRFCOMMChannel:eventSelector:selectorTarget:refCon:)

Initializes a Bluetooth-based OBEX Session using an incoming RFCOMM channel.

Declaration

init!(incomingRFCOMMChannel inChannel: IOBluetoothRFCOMMChannel!, eventSelector inEventSelector: Selector!, selectorTarget inEventSelectorTarget: Any!, refCon inUserRefCon: UnsafeMutableRawPointer!)

Parameters

inChannelID

RFCOMM channel ID of the desired channel to be used.

inEventSelector

The selector to be called when an event is received.

inEventSelectorTarget

The target object that get the selector message.

refCon

caller reference constant, pass whatever you want, it will be returned to you in the selector.