Additional metadata for the media queue container.
Nested Class Summary
class | MediaQueueContainerMetadata.Builder | Builder class for constructing aMediaQueueContainerMetadata . |
|
@interface | MediaQueueContainerMetadata.MediaQueueContainerType | The container type of the media queue. |
Constant Summary
int | MEDIA_QUEUE_CONTAINER_TYPE_AUDIO_BOOK | A media type representing an audio book. |
int | MEDIA_QUEUE_CONTAINER_TYPE_GENERIC | A media type representing generic media content. |
Inherited Constant Summary
Public Method Summary
boolean | |
double |
getContainerDuration()
Returns the total playback time for the container.
|
List<WebImage> |
getContainerImages()
Returns the images associated with the queue.
|
int |
getContainerType()
Returns the container type.
|
List<MediaMetadata> |
getSections()
Returns the information about the sections of the media stream, if any.
|
String |
getTitle()
Returns the container title.
|
int |
hashCode()
|
void |
writeToParcel(Parcelout, int
flags)
|
Inherited Method Summary
Constants
public static final int MEDIA_QUEUE_CONTAINER_TYPE_AUDIO_BOOK
A media type representing an audio book.
public static final int MEDIA_QUEUE_CONTAINER_TYPE_GENERIC
A media type representing generic media content.
Public Methods
public booleanequals(Objectother)
public doublegetContainerDuration()
Returns the total playback time for the container.
publicList<WebImage> getContainerImages()
Returns the images associated with the queue. By default the first image is used when displaying queue information. This is used for audiobook image, a TV channel logo, album cover, etc.
public intgetContainerType()
Returns the container type. Possible values include:
publicList<MediaMetadata> getSections()
Returns the information about the sections of the media stream, if any.
publicStringgetTitle()
Returns the container title. This can be audiobook title, live TV channel name, album name, playlist name, etc.