---
title: CHHapticEvent.EventType
framework: corehaptics
role: symbol
role_heading: Structure
path: corehaptics/chhapticevent/eventtype
---

# CHHapticEvent.EventType

The types of audio and haptic event waveforms.

## Declaration

```swift
struct EventType
```

## Mentioned in

Representing haptic patterns in AHAP files

## Topics

### Specifying a Type

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

### Enumerating Haptic Types

- [audioContinuous](corehaptics/chhapticevent/eventtype/audiocontinuous.md)
- [audioCustom](corehaptics/chhapticevent/eventtype/audiocustom.md)
- [hapticTransient](corehaptics/chhapticevent/eventtype/haptictransient.md)
- [hapticContinuous](corehaptics/chhapticevent/eventtype/hapticcontinuous.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

### Categorizing Haptic Events

- [type](corehaptics/chhapticevent/type.md)
