Dil

PlaybackStateCode Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.Session.PlaybackState+Builder.SetState, and F:Android.Media.Session.PlaybackState+Builder.SetState members.

public enum PlaybackStateCode
type PlaybackStateCode = 
Inheritance
PlaybackStateCode

Fields

Name Value Description
None 0

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.

Android reference for android.media.session.PlaybackState.STATE_NONE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Stopped 1

State indicating this item is currently stopped.

Android reference for android.media.session.PlaybackState.STATE_STOPPED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Paused 2

State indicating this item is currently paused.

Android reference for android.media.session.PlaybackState.STATE_PAUSED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Playing 3

State indicating this item is currently playing.

Android reference for android.media.session.PlaybackState.STATE_PLAYING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

FastForwarding 4

State indicating this item is currently fast forwarding.

Android reference for android.media.session.PlaybackState.STATE_FAST_FORWARDING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Rewinding 5

State indicating this item is currently rewinding.

Android reference for android.media.session.PlaybackState.STATE_REWINDING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Buffering 6

State indicating this item is currently buffering and will begin playing when enough data has buffered.

Android reference for android.media.session.PlaybackState.STATE_BUFFERING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Error 7

State indicating this item is currently in an error state. The error message should also be set when entering this state.

Android reference for android.media.session.PlaybackState.STATE_ERROR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Connecting 8

State indicating the class doing playback is currently connecting to a new destination. Depending on the implementation you may return to the previous state when the connection finishes or enter STATE_NONE. If the connection failed STATE_ERROR should be used.

Android reference for android.media.session.PlaybackState.STATE_CONNECTING.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SkippingToPrevious 9

State indicating the player is currently skipping to the previous item.

Android reference for android.media.session.PlaybackState.STATE_SKIPPING_TO_PREVIOUS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SkippingToNext 10

State indicating the player is currently skipping to the next item.

Android reference for android.media.session.PlaybackState.STATE_SKIPPING_TO_NEXT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SkippingToQueueItem 11

State indicating the player is currently skipping to a specific item in the queue.

Android reference for android.media.session.PlaybackState.STATE_SKIPPING_TO_QUEUE_ITEM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to