seek(to:)
Sets the current playback time to the time specified by the date object.
Declaration
@MainActor func seek(to date: Date) -> BoolParameters
- date:
The time to which to seek.
Return Value
Discussion
For playback content that is associated with a range of dates, this method moves the playhead to point within that range. This method will fail (return false) if date is outside the range or if the content is not associated with a range of dates.