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.SeekHandlerReasonParameters
- time:
The playback position to advance to. The framework scales this value by Unitspersecond.