PlaybackStateCompat
class PlaybackStateCompat : Parcelable
kotlin.Any | |
↳ | android.support.v4.media.session.PlaybackStateCompat |
Playback state for a MediaSessionCompat
. This includes a state like PlaybackStateCompat#STATE_PLAYING
, the current playback position, and the current control capabilities.
Summary
Nested classes |
|
---|---|
Builder for |
|
|
Constants |
|
---|---|
static Long |
Indicates this session supports the fast forward command. |
static Long |
Indicates this session supports the pause command. |
static Long |
Indicates this session supports the play command. |
static Long |
Indicates this session supports the play from media id command. |
static Long |
Indicates this session supports the play from search command. |
static Long |
Indicates this session supports the play from URI command. |
static Long |
Indicates this session supports the play/pause toggle command. |
static Long |
Indicates this session supports the prepare command. |
static Long |
Indicates this session supports the prepare from media id command. |
static Long |
Indicates this session supports the prepare from search command. |
static Long |
Indicates this session supports the prepare from URI command. |
static Long |
Indicates this session supports the rewind command. |
static Long |
Indicates this session supports the seek to command. |
static Long |
Indicates this session supports the set captioning enabled command. |
static Long |
Indicates this session supports the set rating command. |
static Long |
Indicates this session supports the set repeat mode command. |
static Long |
Indicates this session supports the set shuffle mode command. |
static Long |
Indicates this session supports the set shuffle mode enabled command. |
static Long |
Indicates this session supports the next command. |
static Long |
Indicates this session supports the previous command. |
static Long |
Indicates this session supports the skip to queue item command. |
static Long |
Indicates this session supports the stop command. |
static Int |
Error code when the action is interrupted due to some external event. |
static Int |
Error code when the application state is invalid to fulfill the request. |
static Int |
Error code when the request cannot be performed because authentication has expired. |
static Int |
Error code when too many concurrent streams are detected. |
static Int |
Error code when the requested content is already playing. |
static Int |
Error code when the playback navigation (previous, next) is not possible because the queue was exhausted. |
static Int |
Error code when the content is blocked due to being regionally unavailable. |
static Int |
Error code when the request is not supported by the application. |
static Int |
Error code when the content is blocked due to parental controls. |
static Int |
Error code when a premium account is required for the request to succeed. |
static Int |
Error code when the application cannot skip any more songs because skip limit is reached. |
static Int |
This is the default error code and indicates that none of the other error codes applies. |
static Long |
Use this value for the position to indicate the position is not known. |
static Int |
Use this value with |
static Int |
Use this value with |
static Int |
|
static Int |
Use this value with |
static Int |
Use this value with |
static Int |
Use this value with |
static Int |