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

# sendResponse(_:)

Sends data followed by a success message to a connected Bluetooth hands-free phone or headset.

```
func sendResponse(_ response: String!)
```

## Parameters

`response`

A string containing the data.

## Discussion

Calling this method has the same result as calling `sendResponse(response: response, withOK: true)`.

---

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)