---
title: "init(device:delegate:)"
framework: IOBluetooth
role: symbol
role_heading: Initializer
platforms: [macOS 10.7+]
path: "iobluetooth/iobluetoothhandsfreedevice/init(device:delegate:)"
---

# init(device:delegate:)

Creates an object to manage phone calls on a hands-free Bluetooth device.

## Declaration

```swift
init!(device: IOBluetoothDevice!, delegate: Any!)
```

## Parameters

- `device`: A Bluetooth device.
- `delegate`: A delegate that conforms to the doc://com.apple.iobluetooth/documentation/IOBluetooth/IOBluetoothHandsFreeDeviceDelegate protocol.
