A protocol that defines an advanced pattern player capable of looping, seeking, pausing, and resuming haptic playback.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core Haptics
Create instances of this pattern player through a
CHHaptic object by calling a factory method such as
make. When you ask an advanced pattern player to play, pause, or resume a haptic pattern, the player submits those commands to the haptic engine on your behalf.
CHHaptic, the advanced pattern player supports looping of haptic and audio patterns, by setting
loop. The advanced pattern player can also call a block when the player finishes, through its