Class ISN_MPRemoteCommandCenter
Static class that responds to remote control events sent by external accessories and system controls.
Inheritance
Inherited Members
Namespace: SA.iOS.MediaPlayer
Assembly: cs.temp.dll.dll
Syntax
public static class ISN_MPRemoteCommandCenter
Properties
OnNextTrackCommand
The command object for selecting the next track.
Use the object in this property to register your app’s handler for selecting the next track. In your handler, select the media item that follows the current media item. You can disable the command if your app does not support it.
Declaration
public static SA_iEvent OnNextTrackCommand { get; }
Property Value
Type | Description |
---|---|
SA_iEvent |
OnPauseCommand
The command object for pausing playback of the current item.
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.
Declaration
public static SA_iEvent OnPauseCommand { get; }
Property Value
Type | Description |
---|---|
SA_iEvent |
OnPlayCommand
The command object for starting playback of the current item.
Use the object in this property to register your app’s handler for pausing the currently playing track. In your handler, play the current item from the point at which the track was paused, or from the beginning if the item was not paused. You can disable the command if your app does not support it.
Declaration
public static SA_iEvent OnPlayCommand { get; }
Property Value
Type | Description |
---|---|
SA_iEvent |
OnPreviousTrackCommand
The command object for selecting the previous track.
Use the object in this property to register your app’s handler for selecting the previous track. In your handler, select the media item that precedes the current media item. You can disable the command if your app does not support it.
Declaration
public static SA_iEvent OnPreviousTrackCommand { get; }
Property Value
Type | Description |
---|---|
SA_iEvent | The on previous track command. |
OnStopCommand
The command object for stopping playback of the current item.
Use the object in this property to register your app’s handler for stopping playback of the current track. In your handler, stop playback the current item. You can disable the command if your app does not support it.
Declaration
public static SA_iEvent OnStopCommand { get; }
Property Value
Type | Description |
---|---|
SA_iEvent |