---
title: GetUID
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudioclockdevice/getuid
---

# GetUID

Gets the unique identifier of the clock device.

## Declaration

```occ
OSSharedPtr<OSString> GetUID();
```

## Return Value

Return Value A pointer to an OSString containing the UID.

## Discussion

Discussion This method synchronizes by using the work queue created by the object.
