public @interface

Player.Command

implements java.lang.annotation.Annotation

 androidx.media3.common.Player.Command

Overview

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:

Summary