Instance Property

completionHandler

A completion block that runs after the haptic finishes playing.

Required.

Declaration

@property(readwrite) CHHapticAdvancedPatternPlayerCompletionHandler completionHandler;

See Also

Setting Playback Properties

loopEnabled

A Boolean that determines whether the haptic repeats itself on completion.

Required.

loopEnd

The time at which to end looping haptic playback.

Required.

playbackRate

The playback rate of the haptic player.

Required.

CHHapticAdvancedPatternPlayerCompletionHandler

A typealias for the completion handler to run after a haptic finishes playback.