---
title: "plugin(forBundleID:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwaresystem/plugin(forbundleid:)"
---

# plugin(forBundleID:)

## Declaration

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

## Parameters

- `ID`: The String bundle ID of the plugin object to obtain.

## Return Value

Return Value The AudioHardwarePlugin that corresponds with the given bundle ID, or nil if the ID does not correspond with any plugin object.
