Builder class for constructing a MediaQueueData.
|
Builder()
The constructor of the
MediaQueueData.Builder
class.
|
| MediaQueueData |
build()
Builds a
MediaQueueData
from the builder.
|
| MediaQueueData.Builder |
setContainerMetadata(MediaQueueContainerMetadata
containerMetadata)
Sets the additional description for the queue, including an optional list of
media sections metadata, images, etc.
|
| MediaQueueData.Builder | |
| MediaQueueData.Builder | |
| MediaQueueData.Builder | |
| MediaQueueData.Builder | |
| MediaQueueData.Builder |
setQueueType(int queueType)
Sets the type of the queue.
|
| MediaQueueData.Builder |
setRepeatMode(int repeatMode)
Sets the repeat mode.
|
| MediaQueueData.Builder |
setStartIndex(int startIndex)
Sets the index of the item that should play first.
|
| MediaQueueData.Builder |
setStartTime(long startTime)
Sets the playback start time, in milliseconds.
|
The constructor of the MediaQueueData.Builder
class.
Builds a MediaQueueData
from the builder.
Sets the additional description for the queue, including an optional list of media sections metadata, images, etc.
Sets the queue deep link (for example, the deep link of an album, playlist or radio station).
Sets 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.
Sets the display name for the queue.
Sets the queue ID.
Sets the type of the queue.
Possible values are:
MediaQueueData.MEDIA_QUEUE_TYPE_GENERIC
MediaQueueData.MEDIA_QUEUE_TYPE_ALBUM
MediaQueueData.MEDIA_QUEUE_TYPE_PLAYLIST
MediaQueueData.MEDIA_QUEUE_TYPE_AUDIO_BOOK
MediaQueueData.MEDIA_QUEUE_TYPE_RADIO_STATION
MediaQueueData.MEDIA_QUEUE_TYPE_PODCAST_SERIES
MediaQueueData.MEDIA_QUEUE_TYPE_TV_SERIES
MediaQueueData.MEDIA_QUEUE_TYPE_VIDEO_PLAYLIST
MediaQueueData.MEDIA_QUEUE_TYPE_LIVE_TV
MediaQueueData.MEDIA_QUEUE_TYPE_MOVIESets the repeat mode. Possible values are the same as MediaQueueData.getRepeatMode().
Sets the index of the item that should play first.
Sets the playback start time, in milliseconds.
If not set, the receiver will set the start time depending on the stream type.