<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHaptics",
  "identifier" : "/documentation/CoreHaptics/CHHapticEvent/ParameterID",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Haptics",
      "CoreHaptics"
    ],
    "preciseIdentifier" : "c:@T@CHHapticEventParameterID"
  },
  "title" : "CHHapticEvent.ParameterID"
}
-->

# CHHapticEvent.ParameterID

An identifier for an event parameter.

```
struct ParameterID
```

## 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`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/hapticIntensity)

The strength of a haptic event.

[`hapticSharpness`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/hapticSharpness)

The feel of a haptic event.

[`attackTime`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/attackTime)

The time at which a haptic pattern’s intensity begins increasing.

[`decayTime`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/decayTime)

The time at which a haptic pattern’s intensity begins decreasing.

[`releaseTime`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/releaseTime)

The time at which to begin fading the haptic pattern.

[`sustained`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/sustained)

A Boolean value that indicates whether to sustain a haptic event for its specified duration.

### Audio Event Parameter IDs

[`audioVolume`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/audioVolume)

The volume of an audio event.

[`audioPan`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/audioPan)

The stereo panning of an audio event.

[`audioPitch`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/audioPitch)

The pitch of an audio event.

[`audioBrightness`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/audioBrightness)

The high-frequency content of an audio event.

### Swift Initializers

[`init(rawValue:)`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/init(rawValue:))

Creates the identifier of a haptic event parameter with the specified string value.



---

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)