---
title: AudioHardwareBox
framework: Core Audio
role: symbol
role_heading: Class
platforms: [macOS 15.0+]
path: coreaudio/audiohardwarebox
---

# AudioHardwareBox

Instances of the AudioHardwareBox class encapsulate a single audio box, which is a container for other objects (typically device objects). A box publishes identifying information about itself and can be enabled or disabled. A box’s contents are only available to the system when the box is enabled.

## Declaration

```swift
class AudioHardwareBox
```

## Topics

### Initializers

- [init(id:)](coreaudio/audiohardwarebox/init(id:).md)

### Instance Properties

- [clocks](coreaudio/audiohardwarebox/clocks.md)
- [devices](coreaudio/audiohardwarebox/devices.md)
- [enabled](coreaudio/audiohardwarebox/enabled.md)
- [hasAudio](coreaudio/audiohardwarebox/hasaudio.md)
- [hasMIDI](coreaudio/audiohardwarebox/hasmidi.md)
- [hasVideo](coreaudio/audiohardwarebox/hasvideo.md)
- [isProtected](coreaudio/audiohardwarebox/isprotected.md)
- [transportType](coreaudio/audiohardwarebox/transporttype.md)
- [uid](coreaudio/audiohardwarebox/uid.md)

### Instance Methods

- [disable()](coreaudio/audiohardwarebox/disable().md)
- [enable()](coreaudio/audiohardwarebox/enable().md)

## Relationships

### Inherits From

- [AudioHardwareObject](coreaudio/audiohardwareobject.md)

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
