Contents

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) -> MediaCommand

Parameters

  • 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.

See Also

Navigating commands