| java.lang.Object | |
| ↳ | com.google.android.gms.cast.MediaInfo |
A class that aggregates information about a media item. Use MediaInfo.Builder to
build an instance of this class. MediaInfo is used by RemoteMediaPlayer to
load media on the receiver application.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| MediaInfo.Builder | A builder for MediaInfo objects. |
||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | STREAM_TYPE_BUFFERED | A buffered stream type. | |||||||||
| int | STREAM_TYPE_INVALID | An invalid (unknown) stream type. | |||||||||
| int | STREAM_TYPE_LIVE | A live stream type. | |||||||||
| int | STREAM_TYPE_NONE | A stream type of "none". | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the content ID.
| |||||||||||
Returns the content (MIME) type.
| |||||||||||
Returns the custom data, if any.
| |||||||||||
Returns the list of media tracks, or
null if none have been specified. | |||||||||||
Returns the media item metadata.
| |||||||||||
Returns the stream duration, in milliseconds.
| |||||||||||
Returns the stream type; one of the
STREAM_TYPE_ constants. | |||||||||||
Returns the text track style, or
null if none has been specified. | |||||||||||
Sets the text track style.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
A buffered stream type.
An invalid (unknown) stream type.
A live stream type.
A stream type of "none".
Returns the list of media tracks, or null if none have been specified.
Returns the stream duration, in milliseconds.
Returns the stream type; one of the STREAM_TYPE_ constants.
Returns the text track style, or null if none has been specified.