skipBackward(preferredIntervals:_:)
Creates a command that skips backward in the media by a specified time interval.
Declaration
static func skipBackward(preferredIntervals: [TimeInterval] = [10], _ action: @escaping (TimeInterval) async throws -> Void) -> MediaCommandParameters
- preferredIntervals:
An array of preferred time intervals, in seconds. Defaults to 10 seconds.
- action:
The closure the system calls to skip backward. Receives the selected interval.