<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAudio",
  "identifier" : "/documentation/CoreAudio/AudioHardwareSystem/plugin(forBundleID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Audio"
    ],
    "preciseIdentifier" : "s:9CoreAudio0B14HardwareSystemC6plugin11forBundleIDAA0bC6PluginCSgSS_tKF"
  },
  "title" : "plugin(forBundleID:)"
}
-->

# plugin(forBundleID:)

```
func plugin(forBundleID ID: String) throws -> AudioHardwarePlugin?
```

## Parameters

`ID`

The String bundle ID of the plugin object to obtain.

## Return Value

The AudioHardwarePlugin that corresponds with the given bundle ID, or nil if the ID
does not correspond with any plugin 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)