<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioClockDevice/GetUID",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioClockDevice@F@GetUID#"
  },
  "title" : "GetUID"
}
-->

# GetUID

Gets the unique identifier of the clock device.

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

## Return Value

A pointer to an <doc://com.apple.documentation/documentation/DriverKit/OSString> containing the UID.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)