---
title: MPSkipIntervalCommand
framework: mediaplayer
role: symbol
role_heading: Class
path: mediaplayer/mpskipintervalcommand
---

# MPSkipIntervalCommand

An object that defines the skip intervals for the player.

## Declaration

```swift
class MPSkipIntervalCommand
```

## Overview

Overview You use a skip interval to move the playback of a media item, forward or backward, the indicated number of seconds. For example, a forward skip interval of 30 seconds at 2 minutes and 30 seconds into a song would immediately jump to 3 minutes into the song and continue playing. The skipped content isn’t played.

## Topics

### Retrieving skip intervals

- [preferredIntervals](mediaplayer/mpskipintervalcommand/preferredintervals.md)

## Relationships

### Inherits From

- [MPRemoteCommand](mediaplayer/mpremotecommand.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Responding to track navigation events

- [MPChangePlaybackPositionCommand](mediaplayer/mpchangeplaybackpositioncommand.md)
- [MPChangePlaybackPositionCommandEvent](mediaplayer/mpchangeplaybackpositioncommandevent.md)
- [MPSeekCommandEvent](mediaplayer/mpseekcommandevent.md)
- [MPSkipIntervalCommandEvent](mediaplayer/mpskipintervalcommandevent.md)
