| java.lang.Object | |
| ↳ | com.google.android.gms.cast.framework.media.MediaUtils |
Utils for remote media control.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the URL of an image for the
MediaInfo at the given index. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Returns an Uri of an image for the MediaInfo at the given index. Index should
be a number between 0 and n-1 where n is the number of images for that given
item.
| info | The MediaInfo that contains a list of images. |
|---|---|
| index | The index into the list of images. |
Uri of the image, or null if no image URL is found.Returns the URL of an image for the MediaInfo at the given index. Index should be a
number between 0 and n-1 where n is the number of images for that given item.
| info | The MediaInfo that contains a list of images. |
|---|---|
| index | The index into the list of images. |
null if no image URL is found.