<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NowPlaying",
  "identifier" : "/documentation/NowPlaying/MediaCommand/skipForward(preferredIntervals:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Now Playing"
    ],
    "preciseIdentifier" : "s:10NowPlaying12MediaCommandV11skipForward18preferredIntervals_ACSaySdG_ySdYaKctFZ"
  },
  "title" : "skipForward(preferredIntervals:_:)"
}
-->

# skipForward(preferredIntervals:_:)

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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)