Instance Property


The type of the haptic event.


var type: CHHapticEvent.EventType { get }


An audio event can be one of two types: audioCustom or audioContinuous. Haptic events can be hapticTransient or hapticContinuous:

A chart comparing a transient haptic pattern on the left with a continuous haptic pattern on the right. Transient patterns are instantaneous impulses with almost zero duration, while continuous patterns have a nonzero duration.

A transient event lasts a split-second and registers as a tap or impulse, whereas a continuous event feels like an extended buzz of longer duration.

See Also

Categorizing Haptic Events

struct CHHapticEvent.EventType

The types of audio and haptic event waveforms.