<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothHandsFreeDeviceDelegate/handsFree(_:ringAttempt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(pl)IOBluetoothHandsFreeDeviceDelegate(im)handsFree:ringAttempt:"
  },
  "title" : "handsFree(_:ringAttempt:)"
}
-->

# handsFree(_:ringAttempt:)

Tells the delegate the phone is ringing.

```
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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)