---
title: deviceUID
framework: audiotoolbox
role: symbol
role_heading: Instance Property
path: audiotoolbox/auheadtrackingbinauralrenderer/deviceuid
---

# deviceUID

The Unique Identifier (UID) of the Bluetooth headphone device providing IMU sensor data for head tracking.

## Declaration

```swift
var deviceUID: String? { get }
```

## Mentioned in

Rendering Spatial Audio from Bluetooth headphones

## Discussion

Discussion The UID identifies which Bluetooth headphone device corresponds to this instance of the Audio Unit. The host sets this property when it matches a device with this instance of the Audio Unit. The Audio Unit should monitor this property to detect when the host matches the Audio Unit with Bluetooth headphones. This property supports Key-Value Observing (KVO).
