---
title: "handsFree(_:incomingSMS:)"
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: "iobluetooth/iobluetoothhandsfreedevicedelegate/handsfree(_:incomingsms:)"
---

# handsFree(_:incomingSMS:)

Tells the delegate there’s an incoming text message.

## Declaration

```swift
optional func handsFree(_ device: IOBluetoothHandsFreeDevice!, incomingSMS sms: [AnyHashable : Any]!)
```

## Parameters

- `device`: The connected Bluetooth hands-free phone or headset.
- `sms`: A dictionary containing the incoming SMS message. For dictionary keys, see doc://com.apple.iobluetooth/documentation/IOBluetooth/sms-dictionary-key-constants.

## See Also

### Receiving SMS Information

- [SMS Dictionary Key Constants](iobluetooth/sms-dictionary-key-constants.md)
