Back to Exoplayer

Player.Command (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/Player.Command.html

latest4.6 KB
Original Source

Package com.google.android.exoplayer2

Annotation Type Player.Command


[@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: