public static interface MediaSessionConnector.CommandReceiver
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getCommands()
Returns the commands the receiver handles, or
null if no commands need to be handled. |
void |
onCommand(com.google.android.exoplayer2.Player player,
java.lang.String command,
android.os.Bundle extras,
android.os.ResultReceiver cb)
See
MediaSessionCompat.Callback#onCommand(String, Bundle, ResultReceiver). |
java.lang.String[] getCommands()
null if no commands need to be handled.void onCommand(com.google.android.exoplayer2.Player player,
java.lang.String command,
android.os.Bundle extras,
android.os.ResultReceiver cb)
MediaSessionCompat.Callback#onCommand(String, Bundle, ResultReceiver).