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

# GetName

Gets the name of the object.

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

## Return Value

A `OSSharedPtr` to an <doc://com.apple.documentation/documentation/DriverKit/OSString> containing the object name.

## Discussion

Getting the name 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)