seekToPosition(_:)
Creates a command that seeks to a specific position in the media.
Declaration
static func seekToPosition(_ action: @escaping (TimeInterval) async throws -> Void) -> MediaCommandParameters
- action:
The closure the system calls to seek to a position. Receives the target position in seconds.