Additional metadata for the media queue container.
Nested Class Summary
class | MediaQueueContainerMetadata.Builder | Builder class for constructing a MediaQueueContainerMetadata . |
|
@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(Parcel out, 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 boolean equals (Object other)
public double getContainerDuration ()
Returns the total playback time for the container.
public List<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 int getContainerType ()
Returns the container type. Possible values include:
public List<MediaMetadata> getSections ()
Returns the information about the sections of the media stream, if any.
public String getTitle ()
Returns the container title. This can be audiobook title, live TV channel name, album name, playlist name, etc.