seek(to:)
Requests that the player seek to a specified date.
Declaration
nonisolated func seek(to date: Date)Parameters
- date:
The time to which to seek.
Discussion
The time to which the player seeks may differ from the specified date for efficiency. For sample accurate seeking see seek(to:toleranceBefore:toleranceAfter:).