---
title: "clientHandleIncomingData(_:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: "iobluetooth/obexsession/clienthandleincomingdata(_:)"
---

# clientHandleIncomingData(_:)

Tranport subclasses need to invoke this from their own data-receive handlers. For example, when data is received over a Bluetooth RFCOMM channel in the IOBluetoothOBEXSession, it in turn calls this to dispatch the data. If you do not handle this case, your server session will not work, guaranteed.

## Declaration

```swift
func clientHandleIncomingData(_ event: UnsafeMutablePointer<OBEXTransportEvent>!)
```

## Parameters

- `event`: New event received from the transport.

## Discussion

Discussion Tranport subclasses must call this for OBEX client sessions to work!
