<!--
{
  "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

[`CHHapticEventParameterIDHapticIntensity`](/documentation/CoreHaptics/CHHapticEvent/ParameterID/hapticIntensity)

The strength of a haptic event.

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

The feel of a haptic event.

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

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

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

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

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

The time at which to begin fading the haptic pattern.

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

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

### Audio Event Parameter IDs

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

The volume of an audio event.

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

The stereo panning of an audio event.

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

The pitch of an audio event.

[`CHHapticEventParameterIDAudioBrightness`](/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.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)