Instance Property

changePlaybackPositionCommand

The command object for changing the playback position in a media item.

Declaration

var changePlaybackPositionCommand: MPChangePlaybackPositionCommand { get }

Discussion

Use the object in this property to register your app’s handler for changing the playback position for the playlist. In your handler, change the playback position to the new value. You can disable the command if your app does not support it.

See Also

Navigating a Track’s Contents

var changePlaybackRateCommand: MPChangePlaybackRateCommand

The command object for changing the playback rate of the current media item.

var seekBackwardCommand: MPRemoteCommand

The command object for seeking backward through a single media item.

var seekForwardCommand: MPRemoteCommand

The command object for seeking forward through a single media item.

var skipBackwardCommand: MPSkipIntervalCommand

The command object for playing a previous point in a media item.

var skipForwardCommand: MPSkipIntervalCommand

The command object for playing a future point in a media item.