Instance Property

loopEnd

The time at which to end looping haptic playback.

Required.

Declaration

var loopEnd: TimeInterval { get set }

See Also

Setting Playback Properties

var loopEnabled: Bool

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

Required.

var playbackRate: Float

The playback rate of the haptic player.

Required.

var completionHandler: CHHapticAdvancedPatternPlayerCompletionHandler

A completion block that runs after the haptic finishes playing.

Required.

typealias CHHapticAdvancedPatternPlayerCompletionHandler

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