---
title: IOBluetoothHandsFreeAudioGateway
framework: IOBluetooth
role: symbol
role_heading: Class
platforms: [macOS 10.7+]
path: iobluetooth/iobluetoothhandsfreeaudiogateway
---

# IOBluetoothHandsFreeAudioGateway

An object that sends data to a connected Bluetooth hands-free phone or headset and processes commands from it.

## Declaration

```swift
class IOBluetoothHandsFreeAudioGateway
```

## Overview

Overview This class represents the audio gateway portion of a Bluetooth audio profile.

## Topics

### Creating a Gateway

- [init(device:delegate:)](iobluetooth/iobluetoothhandsfreeaudiogateway/init(device:delegate:).md)

### Showing Status Indicators

- [createIndicator(_:min:max:currentValue:)](iobluetooth/iobluetoothhandsfreeaudiogateway/createindicator(_:min:max:currentvalue:).md)
- [Status Indicator Constants](iobluetooth/status-indicator-constants.md)

### Sending and Receiving Commands

- [sendResponse(_:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:).md)
- [sendResponse(_:withOK:)](iobluetooth/iobluetoothhandsfreeaudiogateway/sendresponse(_:withok:).md)
- [sendOKResponse()](iobluetooth/iobluetoothhandsfreeaudiogateway/sendokresponse().md)
- [process(atCommand:)](iobluetooth/iobluetoothhandsfreeaudiogateway/process(atcommand:).md)

## Relationships

### Inherits From

- [IOBluetoothHandsFree](iobluetooth/iobluetoothhandsfree.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Classes

- [IOBluetoothDevice](iobluetooth/iobluetoothdevice.md)
- [IOBluetoothDeviceInquiry](iobluetooth/iobluetoothdeviceinquiry.md)
- [IOBluetoothDevicePair](iobluetooth/iobluetoothdevicepair.md)
- [IOBluetoothDeviceRef](iobluetooth/iobluetoothdeviceref.md)
- [IOBluetoothHandsFree](iobluetooth/iobluetoothhandsfree.md)
- [IOBluetoothHandsFreeDevice](iobluetooth/iobluetoothhandsfreedevice.md)
- [IOBluetoothHostController](iobluetooth/iobluetoothhostcontroller.md)
- [IOBluetoothL2CAPChannel](iobluetooth/iobluetoothl2capchannel.md)
- [IOBluetoothL2CAPChannelRef](iobluetooth/iobluetoothl2capchannelref.md)
- [IOBluetoothOBEXSession](iobluetooth/iobluetoothobexsession.md)
- [IOBluetoothObject](iobluetooth/iobluetoothobject.md)
- [IOBluetoothObjectRef](iobluetooth/iobluetoothobjectref.md)
- [IOBluetoothRFCOMMChannel](iobluetooth/iobluetoothrfcommchannel.md)
- [IOBluetoothRFCOMMChannelRef](iobluetooth/iobluetoothrfcommchannelref.md)
- [IOBluetoothSDPDataElement](iobluetooth/iobluetoothsdpdataelement.md)
