MPSkipIntervalCommand class provides additional information for the skip interval command properties described in the
MPRemoteCommandCenter class. Apps can provide a set of available skip intervals for a particular media item using the
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 content skipped is not played.
The available skip intervals, in seconds, for a media item.
var preferredIntervals: [AnyObject]
@property(nonatomic, copy, nonnull) NSArray *preferredIntervals
preferredIntervalsproperty holds an array of
NSTimeIntervalobjects that designate different skip intervals for a media item. The skip intervals are defined in seconds.
Available in iOS 7.1 and later.