Utils for remote media control.
Public Method Summary
| static Uri | 
                 
                  
                  getImageUri(MediaInfo info, int index)
                  
                 
               | 
            
| static String | 
                 
                  
                  getImageUrl(MediaInfo info, int index)
                   
              
                    Returns the URL of an image for the  
                MediaInfo
                    at the given index.
                   | 
            
| static Locale | 
                 
                  
                  getTrackLanguage(MediaTrack track)
                   
              
                    This method is deprecated. use  
                
                    MediaTrack.getLanguageLocale() instead. The method will be removed
                    in the next release.
                   | 
            
Inherited Method Summary
Public Methods
public static Uri getImageUri (MediaInfo info, int index)
Returns an Uri of an image for
            the MediaInfo at
            the given index. Index should be a number between 0 and n-1, inclusive,
            where n is the number of images for that given item.
Parameters
| info | The MediaInfo that contains a list of images. | 
|---|---|
| index | The index into the list of images. | 
Returns
- An 
Uriof the image, ornullif no image URL is found. 
public static String getImageUrl (MediaInfo info, int index)
Returns the URL of an image for the MediaInfo at
            the given index. Index should be a number between 0 and n-1, inclusive,
            where n is the number of images for that given item.
Parameters
| info | The MediaInfo that contains a list of images. | 
|---|---|
| index | The index into the list of images. | 
Returns
- The URL of the image, or 
nullif no image URL is found. 
public static Locale getTrackLanguage (MediaTrack track)
This method is deprecated.
          use MediaTrack.getLanguageLocale()
          instead. The method will be removed in the next release.
Returns the Locale defined by
            the language field of a MediaTrack
            object.
Parameters
| track | The MediaTrack that has a language. | 
|---|
Returns
- A 
Localerepresenting the track language, ornullif no language set.