Instance Property

pauseCommand

The command object for pausing playback of the current item.

Declaration

@property(nonatomic, readonly) MPRemoteCommand *pauseCommand;

Discussion

Use the object in this property to register your app’s handler for pausing the currently playing track. In your handler, pause playback of the current item but maintain the current play position. You can disable the command if your app does not support it.

See Also

Playback Commands

playCommand

The command object for starting playback of the current item.

stopCommand

The command object for stopping playback of the current item.

togglePlayPauseCommand

The command object for toggling between playing and pausing the current item.