Contents

skipForward(preferredIntervals:_:)

Creates a command that skips forward in the media by a specified time interval.

Declaration

static func skipForward(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 forward. Receives the selected interval.

See Also

Navigating commands