Example usage for Java android.media MediaMetadata fields, constructors, methods, implement or subclass
The text is from its open source code.
String | METADATA_KEY_TITLE The title of the media. |
String | METADATA_KEY_ARTIST The artist of the media. |
String | METADATA_KEY_DURATION The duration of the media in ms. |
String | METADATA_KEY_ALBUM The album title for the media. |
String | METADATA_KEY_GENRE The genre of the media. |
String | METADATA_KEY_TRACK_NUMBER The track number for the media. |
String | METADATA_KEY_NUM_TRACKS The number of tracks in the media's original source. |
String | METADATA_KEY_ALBUM_ARTIST The artist for the album of the media's original source. |
String | METADATA_KEY_ART The artwork for the media as a Bitmap . |
String | METADATA_KEY_ART_URI The artwork for the media as a Uri formatted String. |
String | METADATA_KEY_ALBUM_ART The artwork for the album of the media's original source as a Bitmap . |
String | METADATA_KEY_ALBUM_ART_URI The artwork for the album of the media's original source as a Uri formatted String. |
String | METADATA_KEY_DISPLAY_TITLE A title that is suitable for display to the user. |
String | METADATA_KEY_DISPLAY_SUBTITLE A subtitle that is suitable for display to the user. |
String | METADATA_KEY_DISPLAY_DESCRIPTION A description that is suitable for display to the user. |
String | METADATA_KEY_DISPLAY_ICON An icon or thumbnail that is suitable for display to the user. |
String | METADATA_KEY_DISPLAY_ICON_URI A Uri formatted String for an icon or thumbnail that is suitable for display to the user. |
String | METADATA_KEY_MEDIA_ID A String key for identifying the content. |
MediaDescription | getDescription() Returns a simple description of this metadata for display purposes. |
long | getLong(@LongKey String key) Returns the value associated with the given key, or 0L if no long exists for the given key. |
String | getString(@TextKey String key) Returns the text value associated with the given key as a String, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |