A class that holds the information of the playing queue or media container.
| class | MediaQueueData.Builder | Builder class for constructing a MediaQueueData. |
|
| @interface | MediaQueueData.MediaQueueType | The type of the media queue. | |
| int | MEDIA_QUEUE_TYPE_ALBUM | A media type representing an album. |
| int | MEDIA_QUEUE_TYPE_AUDIO_BOOK | A media type representing an audio book. |
| int | MEDIA_QUEUE_TYPE_GENERIC | Generic or unspecified media type. |
| int | MEDIA_QUEUE_TYPE_LIVE_TV | A media type representing live TV. |
| int | MEDIA_QUEUE_TYPE_MOVIE | A media type representing a movie. |
| int | MEDIA_QUEUE_TYPE_PLAYLIST | A media type representing an audio playlist. |
| int | MEDIA_QUEUE_TYPE_PODCAST_SERIES | A media type representing a podcast series. |
| int | MEDIA_QUEUE_TYPE_RADIO_STATION | A media type representing a radio station. |
| int | MEDIA_QUEUE_TYPE_TV_SERIES | A media type representing a TV series. |
| int | MEDIA_QUEUE_TYPE_VIDEO_PLAYLIST | A media type representing a video playlist. |
| boolean | |
| MediaQueueContainerMetadata |
getContainerMetadata()
Returns the additional description for the queue.
|
| String |
getEntity()
Returns the queue deep link.
|
| List<MediaQueueItem> |
getItems()
Returns the list of queue items.
|
| String |
getName()
Returns the display name for the queue.
|
| String |
getQueueId()
Returns the queue ID.
|
| int |
getQueueType()
Returns the type of the queue.
|
| int |
getRepeatMode()
Returns the repeat mode of the queue.
|
| int |
getStartIndex()
Returns the index of the item that should play first.
|
| long |
getStartTime()
Returns the playback start time, in milliseconds.
|
| int |
hashCode()
|
| void |
writeToParcel(Parcel out, int
flags)
|
A media type representing an album.
A media type representing an audio book.
Generic or unspecified media type.
A media type representing live TV.
A media type representing a movie.
A media type representing an audio playlist.
A media type representing a podcast series.
A media type representing a radio station.
A media type representing a TV series.
A media type representing a video playlist.
Returns the additional description for the queue.
Returns the queue deep link.
Returns the list of queue items. The item list should only be valid when sending the
MediaQueueData
in load requests. In all other cases, it should be null.
Returns the display name for the queue.
Returns the queue ID.
Returns the type of the queue.
Returns the repeat mode of the queue. Possible values include:
Returns the index of the item that should play first. This is only valid for load requests.
Returns the playback start time, in milliseconds.
If unspecified, the default value is
MediaLoadRequestData.PLAY_POSITION_UNASSIGNED.