Instance Property

playsHapticsOnly

A Boolean that indicates whether the haptic engine ignores audio events.

Declaration

var playsHapticsOnly: Bool { get set }

Discussion

Setting this property to true causes the engine to ignore all audio events, such as audioContinuous and audioCustom. This also reduces latency of starting haptic playback.

See Also

Modifying Playback Properties

var isMutedForAudio: Bool

A Boolean that indicates whether audio is muted for the haptic engine.

var isMutedForHaptics: Bool

A Boolean that indicates whether haptics is muted for the haptic engine.