docs/doc/reference/com/google/android/exoplayer2/Player.Command.html
Package com.google.android.exoplayer2
[@Documented](https://developer.android.com/reference/java/lang/annotation/Documented.html "class or interface in java.lang.annotation")[@Retention](https://developer.android.com/reference/java/lang/annotation/Retention.html "class or interface in java.lang.annotation")([SOURCE](https://developer.android.com/reference/java/lang/annotation/RetentionPolicy.html?is-external=true#SOURCE "class or interface in java.lang.annotation"))[@Target](https://developer.android.com/reference/java/lang/annotation/Target.html "class or interface in java.lang.annotation")({[FIELD](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#FIELD "class or interface in java.lang.annotation"),[METHOD](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#METHOD "class or interface in java.lang.annotation"),[PARAMETER](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#PARAMETER "class or interface in java.lang.annotation"),[LOCAL\_VARIABLE](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#LOCAL_VARIABLE "class or interface in java.lang.annotation"),[TYPE\_USE](https://developer.android.com/reference/java/lang/annotation/ElementType.html?is-external=true#TYPE_USE "class or interface in java.lang.annotation")})
public static @interfacePlayer.Command
Commands that indicate which method calls are currently permitted on a particular Player instance.
The currently available commands can be inspected with Player.getAvailableCommands() and Player.isCommandAvailable(int).
See the documentation of each command constant for the details of which methods it permits calling.
One of the following values:
Player.COMMAND_PLAY_PAUSEPlayer.COMMAND_PREPAREPlayer.COMMAND_STOPPlayer.COMMAND_SEEK_TO_DEFAULT_POSITIONPlayer.COMMAND_SEEK_IN_CURRENT_MEDIA_ITEMPlayer.COMMAND_SEEK_TO_PREVIOUS_MEDIA_ITEMPlayer.COMMAND_SEEK_TO_PREVIOUSPlayer.COMMAND_SEEK_TO_NEXT_MEDIA_ITEMPlayer.COMMAND_SEEK_TO_NEXTPlayer.COMMAND_SEEK_TO_MEDIA_ITEMPlayer.COMMAND_SEEK_BACKPlayer.COMMAND_SEEK_FORWARDPlayer.COMMAND_SET_SPEED_AND_PITCHPlayer.COMMAND_SET_SHUFFLE_MODEPlayer.COMMAND_SET_REPEAT_MODEPlayer.COMMAND_GET_CURRENT_MEDIA_ITEMPlayer.COMMAND_GET_TIMELINEPlayer.COMMAND_GET_METADATAPlayer.COMMAND_SET_PLAYLIST_METADATAPlayer.COMMAND_SET_MEDIA_ITEMPlayer.COMMAND_CHANGE_MEDIA_ITEMSPlayer.COMMAND_GET_AUDIO_ATTRIBUTESPlayer.COMMAND_GET_VOLUMEPlayer.COMMAND_GET_DEVICE_VOLUMEPlayer.COMMAND_SET_VOLUMEPlayer.COMMAND_SET_DEVICE_VOLUMEPlayer.COMMAND_SET_DEVICE_VOLUME_WITH_FLAGSPlayer.COMMAND_ADJUST_DEVICE_VOLUMEPlayer.COMMAND_ADJUST_DEVICE_VOLUME_WITH_FLAGSPlayer.COMMAND_SET_VIDEO_SURFACEPlayer.COMMAND_GET_TEXTPlayer.COMMAND_SET_TRACK_SELECTION_PARAMETERSPlayer.COMMAND_GET_TRACKSPlayer.COMMAND_RELEASE