---
title: CHHapticEvent.ParameterID
framework: corehaptics
role: symbol
role_heading: Structure
path: corehaptics/chhapticevent/parameterid
---

# CHHapticEvent.ParameterID

An identifier for an event parameter.

## Declaration

```swift
struct ParameterID
```

## Mentioned in

Representing haptic patterns in AHAP files

## Discussion

Discussion Specify event parameters when creating a haptic or audio event. The combination of parameters determines the event’s character.

## Topics

### Haptic Event Parameter IDs

- [hapticIntensity](corehaptics/chhapticevent/parameterid/hapticintensity.md)
- [hapticSharpness](corehaptics/chhapticevent/parameterid/hapticsharpness.md)
- [attackTime](corehaptics/chhapticevent/parameterid/attacktime.md)
- [decayTime](corehaptics/chhapticevent/parameterid/decaytime.md)
- [releaseTime](corehaptics/chhapticevent/parameterid/releasetime.md)
- [sustained](corehaptics/chhapticevent/parameterid/sustained.md)

### Audio Event Parameter IDs

- [audioVolume](corehaptics/chhapticevent/parameterid/audiovolume.md)
- [audioPan](corehaptics/chhapticevent/parameterid/audiopan.md)
- [audioPitch](corehaptics/chhapticevent/parameterid/audiopitch.md)
- [audioBrightness](corehaptics/chhapticevent/parameterid/audiobrightness.md)

### Swift Initializers

- [init(rawValue:)](corehaptics/chhapticevent/parameterid/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring Haptic Events

- [eventParameters](corehaptics/chhapticevent/eventparameters.md)
- [relativeTime](corehaptics/chhapticevent/relativetime.md)
- [duration](corehaptics/chhapticevent/duration.md)
