<!--
{
  "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/EventType",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Haptics",
      "CoreHaptics"
    ],
    "preciseIdentifier" : "c:@T@CHHapticEventType"
  },
  "title" : "CHHapticEvent.EventType"
}
-->

# CHHapticEvent.EventType

The types of audio and haptic event waveforms.

```
struct EventType
```

## Topics

### Specifying a Type

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

Initializes an event type from a raw string value.

### Enumerating Haptic Types

[`CHHapticEventTypeAudioContinuous`](/documentation/CoreHaptics/CHHapticEvent/EventType/audioContinuous)

An audio event with a looped waveform of arbitrary length.

[`CHHapticEventTypeAudioCustom`](/documentation/CoreHaptics/CHHapticEvent/EventType/audioCustom)

An audio event using a waveform that you supply.

[`CHHapticEventTypeHapticTransient`](/documentation/CoreHaptics/CHHapticEvent/EventType/hapticTransient)

A brief impulse occurring at a specific point in time, like the feedback from toggling a switch.

[`CHHapticEventTypeHapticContinuous`](/documentation/CoreHaptics/CHHapticEvent/EventType/hapticContinuous)

A haptic event with a looped waveform of arbitrary length.

## Relationships

### Conforms To

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

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

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

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

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

---

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)