MPChangePlaybackRateCommand class provides additional information for the playback commands described in the
MPRemoteCommandCenter class. Apps can change the current playback rate of a media item to one of the supported rates defined by the
The supported playback rates for a media item.
var supportedPlaybackRates: [NSNumber]
@property(nonatomic, copy, nonnull) NSArray <NSNumber *> *supportedPlaybackRates
Contains an array of
NSNumberobjects. Each object is of type
floatand designates a supported playback rate. For example, a value of 2.0 would indicate the media item plays at double speed. Negative values are not supported.
Available in iOS 7.1 and later.