---
title: IOBluetoothOBEXSession
framework: IOBluetooth
role: symbol
role_heading: Class
path: iobluetooth/iobluetoothobexsession
---

# IOBluetoothOBEXSession

An OBEX Session with a Bluetooth RFCOMM channel as the transport.

## Declaration

```swift
class IOBluetoothOBEXSession
```

## Topics

### Initializers

- [init(device:channelID:)](iobluetooth/iobluetoothobexsession/init(device:channelid:).md)
- [init(incomingRFCOMMChannel:eventSelector:selectorTarget:refCon:)](iobluetooth/iobluetoothobexsession/init(incomingrfcommchannel:eventselector:selectortarget:refcon:).md)
- [init(sdpServiceRecord:)](iobluetooth/iobluetoothobexsession/init(sdpservicerecord:)-h1xg.md)
- [init(SDPServiceRecord:)](iobluetooth/iobluetoothobexsession/init(sdpservicerecord:)-34uaf.md)

### Instance Methods

- [closeTransportConnection()](iobluetooth/iobluetoothobexsession/closetransportconnection().md)
- [getDevice()](iobluetooth/iobluetoothobexsession/getdevice().md)
- [getRFCOMMChannel()](iobluetooth/iobluetoothobexsession/getrfcommchannel().md)
- [hasOpenTransportConnection()](iobluetooth/iobluetoothobexsession/hasopentransportconnection().md)
- [isSessionTargetAMac()](iobluetooth/iobluetoothobexsession/issessiontargetamac().md)
- [openTransportConnection(_:selectorTarget:refCon:)](iobluetooth/iobluetoothobexsession/opentransportconnection(_:selectortarget:refcon:).md)
- [restartTransmission()](iobluetooth/iobluetoothobexsession/restarttransmission().md)
- [sendBufferTroughChannel()](iobluetooth/iobluetoothobexsession/sendbuffertroughchannel().md)
- [sendData(toTransport:dataLength:)](iobluetooth/iobluetoothobexsession/senddata(totransport:datalength:).md)
- [setOBEXSessionOpenConnectionCallback(_:refCon:)](iobluetooth/iobluetoothobexsession/setobexsessionopenconnectioncallback(_:refcon:).md)
- [setOpenTransportConnectionAsyncSelector(_:target:refCon:)](iobluetooth/iobluetoothobexsession/setopentransportconnectionasyncselector(_:target:refcon:).md)

### Type Methods

- [withDevice(_:channelID:)](iobluetooth/iobluetoothobexsession/withdevice(_:channelid:).md)
- [withIncomingRFCOMMChannel(_:eventSelector:selectorTarget:refCon:)](iobluetooth/iobluetoothobexsession/withincomingrfcommchannel(_:eventselector:selectortarget:refcon:).md)
- [withSDPServiceRecord(_:)](iobluetooth/iobluetoothobexsession/withsdpservicerecord(_:).md)

## Relationships

### Inherits From

- [OBEXSession](iobluetooth/obexsession.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [IOBluetoothRFCOMMChannelDelegate](iobluetooth/iobluetoothrfcommchanneldelegate.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Classes

- [IOBluetoothDevice](iobluetooth/iobluetoothdevice.md)
- [IOBluetoothDeviceInquiry](iobluetooth/iobluetoothdeviceinquiry.md)
- [IOBluetoothDevicePair](iobluetooth/iobluetoothdevicepair.md)
- [IOBluetoothDeviceRef](iobluetooth/iobluetoothdeviceref.md)
- [IOBluetoothHandsFree](iobluetooth/iobluetoothhandsfree.md)
- [IOBluetoothHandsFreeAudioGateway](iobluetooth/iobluetoothhandsfreeaudiogateway.md)
- [IOBluetoothHandsFreeDevice](iobluetooth/iobluetoothhandsfreedevice.md)
- [IOBluetoothHostController](iobluetooth/iobluetoothhostcontroller.md)
- [IOBluetoothL2CAPChannel](iobluetooth/iobluetoothl2capchannel.md)
- [IOBluetoothL2CAPChannelRef](iobluetooth/iobluetoothl2capchannelref.md)
- [IOBluetoothObject](iobluetooth/iobluetoothobject.md)
- [IOBluetoothObjectRef](iobluetooth/iobluetoothobjectref.md)
- [IOBluetoothRFCOMMChannel](iobluetooth/iobluetoothrfcommchannel.md)
- [IOBluetoothRFCOMMChannelRef](iobluetooth/iobluetoothrfcommchannelref.md)
- [IOBluetoothSDPDataElement](iobluetooth/iobluetoothsdpdataelement.md)
