Type Property

eventDuration

A key indicating the duration of an event.

Declaration

static let eventDuration: CHHapticPattern.Key

See Also

Characterizing a Pattern Key

static let pattern: CHHapticPattern.Key

A key indicating the beginning of a haptic pattern definition.

static let event: CHHapticPattern.Key

A key indicating the beginning of a haptic event definition.

static let eventType: CHHapticPattern.Key

A key indicating the type of event, specified as a CHHapticEvent.EventType.

static let eventParameters: CHHapticPattern.Key

A key indicating the beginning of an array of fixed parameter parameter definitions.

static let parameter: CHHapticPattern.Key

A key indicating the beginning of a parameter definition.

static let parameterID: CHHapticPattern.Key

A key indicating the parameter ID.

static let parameterValue: CHHapticPattern.Key

A key indicating the value of a parameter, specified as a real number.

static let time: CHHapticPattern.Key

A key indicating the relative time for an event or parameter, in seconds.

static let parameterCurve: CHHapticPattern.Key

A key indicating the beginning of a parameter curve definition.

static let parameterCurveControlPoints: CHHapticPattern.Key

A key indicating the control points of a parameter curve.

static let eventWaveformPath: CHHapticPattern.Key

A key indicating the path to the local file containing the audio waveform, for events of type audioCustom.