Example usage for Java android.media.session PlaybackState fields, constructors, methods, implement or subclass
The text is from its open source code.
long | ACTION_STOP Indicates this session supports the stop command. |
long | ACTION_PAUSE Indicates this session supports the pause command. |
long | ACTION_PLAY Indicates this session supports the play command. |
long | ACTION_REWIND Indicates this session supports the rewind command. |
long | ACTION_SKIP_TO_PREVIOUS Indicates this session supports the previous command. |
long | ACTION_SKIP_TO_NEXT Indicates this session supports the next command. |
long | ACTION_FAST_FORWARD Indicates this session supports the fast forward command. |
long | ACTION_PLAY_PAUSE Indicates this session supports the play/pause toggle command. |
long | ACTION_PLAY_FROM_MEDIA_ID Indicates this session supports the play from media id command. |
long | ACTION_PLAY_FROM_SEARCH Indicates this session supports the play from search command. |
int | STATE_NONE This is the default playback state and indicates that no media has been added yet, or the performer has been reset and has no content to play. |
int | STATE_STOPPED State indicating this item is currently stopped. |
int | STATE_PAUSED State indicating this item is currently paused. |
int | STATE_PLAYING State indicating this item is currently playing. |
int | STATE_BUFFERING State indicating this item is currently buffering and will begin playing when enough data has buffered. |
int | STATE_ERROR State indicating this item is currently in an error state. |
int | STATE_CONNECTING State indicating the class doing playback is currently connecting to a new destination. |
long | PLAYBACK_POSITION_UNKNOWN Use this value for the position to indicate the position is not known. |
long | getActiveQueueItemId() Get the id of the currently active item in the queue. |
long | getPosition() Get the current playback position in ms. |
int | getState() Get the current state of playback. |