Contents

seek(to:)

Sets the playback position to the specified time.

Declaration

@MainActor @preconcurrency func seek(to time: Duration)

Parameters

  • time:

    The desired playback position.