---
title: uid
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaretap/uid
---

# uid

A String that contains a persistent identifier for the tap. A tap’s UID persists until the tap is destroyed.

## Declaration

```swift
var uid: String { get throws }
```
