seek(to:tolerance:)
Requests a seek to the specified position.
Declaration
@MainActor func seek(to position: CMTime, tolerance: CMTime)Parameters
- position:
The position to seek to.
- tolerance:
How close to
positionthe actual seek must land. PassCMTime.zerofor exact frame-accurate seeking orCMTime.positiveInfinityfor fast approximate seeking.