---
title: CHHapticAudioResourceID
framework: corehaptics
role: symbol
role_heading: Type Alias
path: corehaptics/chhapticaudioresourceid
---

# CHHapticAudioResourceID

A type that identifies a custom audio resource.

## Declaration

```swift
typealias CHHapticAudioResourceID = Int
```

## See Also

### Registering Audio Resources

- [registerAudioResource(_:options:)](corehaptics/chhapticengine/registeraudioresource(_:options:).md)
- [unregisterAudioResource(_:)](corehaptics/chhapticengine/unregisteraudioresource(_:).md)
