Skip to content

Instantly share code, notes, and snippets.

@ademirqueiroga
Created March 14, 2023 16:59
Show Gist options
  • Save ademirqueiroga/4deb8d79c64f347e0367e87c03e6b126 to your computer and use it in GitHub Desktop.
Save ademirqueiroga/4deb8d79c64f347e0367e87c03e6b126 to your computer and use it in GitHub Desktop.
MediaSession Playback states
public final static int STATE_NONE = 0;
public final static int STATE_STOPPED = 1;
public final static int STATE_PAUSED = 2;
public final static int STATE_PLAYING = 3;
public final static int STATE_FAST_FORWARDING = 4;
public final static int STATE_REWINDING = 5;
public final static int STATE_BUFFERING = 6;
public final static int STATE_ERROR = 7;
public final static int STATE_CONNECTING = 8;
public final static int STATE_SKIPPING_TO_PREVIOUS = 9;
public final static int STATE_SKIPPING_TO_NEXT = 10;
public final static int STATE_SKIPPING_TO_QUEUE_ITEM = 11;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment