Contents

seek(to:completion:)

Advances the sound event’s playback position to a specific time.

Declaration

func seek(to time: Double, completion handler: (@Sendable (PHASESoundEvent.SeekHandlerReason) -> Void)? = nil)
func seek(to time: Double) async -> PHASESoundEvent.SeekHandlerReason

Parameters

  • time:

    The playback position to advance to. The framework scales this value by Unitspersecond.

Discussion

See Also

Seeking a Time