Android.Media.Session.PlaybackState Members

The members of Android.Media.Session.PlaybackState are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ActionFastForwardlong (64). Indicates this session supports the fast forward command.
const
ActionPauselong (2). Indicates this session supports the pause command.
const
ActionPlaylong (4). Indicates this session supports the play command.
const
ActionPlayFromMediaIdlong (1024). Indicates this session supports the play from media id command.
const
ActionPlayFromSearchlong (2048). Indicates this session supports the play from search command.
const
ActionPlayPauselong (512). Indicates this session supports the play/pause toggle command.
const
ActionRewindlong (8). Indicates this session supports the rewind command.
const
ActionSeekTolong (256). Indicates this session supports the seek to command.
const
ActionSetRatinglong (128). Indicates this session supports the set rating command.
const
ActionSkipToNextlong (32). Indicates this session supports the next command.
const
ActionSkipToPreviouslong (16). Indicates this session supports the previous command.
const
ActionSkipToQueueItemlong (4096). Indicates this session supports the skip to queue item command.
const
ActionStoplong (1). Indicates this session supports the stop command.
const
PlaybackPositionUnknownlong (-1). Use this value for the position to indicate the position is not known.
const
StateBufferingPlaybackStateCode (6). State indicating this item is currently buffering and will begin playing when enough data has buffered.
const
StateConnectingPlaybackStateCode (8). State indicating the class doing playback is currently connecting to a new destination.
const
StateErrorPlaybackStateCode (7). State indicating this item is currently in an error state.
const
StateFastForwardingPlaybackStateCode (4). State indicating this item is currently fast forwarding.
const
StateNonePlaybackStateCode (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.
const
StatePausedPlaybackStateCode (2). State indicating this item is currently paused.
const
StatePlayingPlaybackStateCode (3). State indicating this item is currently playing.
const
StateRewindingPlaybackStateCode (5). State indicating this item is currently rewinding.
const
StateSkippingToNextPlaybackStateCode (10). State indicating the player is currently skipping to the next item.
const
StateSkippingToPreviousPlaybackStateCode (9). State indicating the player is currently skipping to the previous item.
const
StateSkippingToQueueItemPlaybackStateCode (11). State indicating the player is currently skipping to a specific item in the queue.
const
StateStoppedPlaybackStateCode (1). State indicating this item is currently stopped.

Public Properties

[read-only]
Actionslong. Get the current actions available on this session.
[read-only]
ActiveQueueItemIdlong. Get the id of the currently active item in the queue.
[read-only]
BufferedPositionlong. Get the current buffered position in ms.
[read-only]
static
CreatorAndroid.OS.IParcelableCreator.
[read-only]
CustomActionsIList<PlaybackState.CustomAction>. Get the list of custom actions.
[read-only]
ErrorMessagestring. Documentation for this section has not yet been entered.
[read-only]
ErrorMessageFormattedJava.Lang.ICharSequence. Get a user readable error message.
[read-only]
LastPositionUpdateTimelong. Get the elapsed real time at which position was last updated.
[read-only]
PlaybackSpeedfloat. Get the current playback speed as a multiple of normal playback.
[read-only]
Positionlong. Get the current playback position in ms.
[read-only]
StatePlaybackStateCode. Get the current state of playback.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : int
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
WriteToParcel(Android.OS.Parcel, Android.OS.ParcelableWriteFlags)
Flatten this object in to a Parcel.