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

# handsFree(_:ringAttempt:)

Tells the delegate the phone is ringing.

## Declaration

```swift
optional func handsFree(_ device: IOBluetoothHandsFreeDevice!, ringAttempt: NSNumber!)
```

## Parameters

- `device`: The connected Bluetooth hands-free phone or headset.
- `ringAttempt`: The number of ring alerts received for the call.

## See Also

### Receiving Other Information

- [handsFree(_:subscriberNumber:)](iobluetooth/iobluetoothhandsfreedevicedelegate/handsfree(_:subscribernumber:).md)
- [handsFree(_:unhandledResultCode:)](iobluetooth/iobluetoothhandsfreedevicedelegate/handsfree(_:unhandledresultcode:).md)
