The duration is the length of the contents. The MediaController
can only get the duration through the metadata. This tells when would the playback ends, and also
tells about the allowed range of MediaController.seekTo(long).

Constants

BROWSABLE_TYPE_ALBUMS

The type of browsable that contains browsable items categorized by album.

This value matches with the folder type 'Albums' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
2
(0x0000000000000002)

BROWSABLE_TYPE_ARTISTS

public static final long BROWSABLE_TYPE_ARTISTS

The type of browsable that contains browsable items categorized by artist.

This value matches with the folder type 'Artists' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
3
(0x0000000000000003)

BROWSABLE_TYPE_GENRES

public static final long BROWSABLE_TYPE_GENRES

The type of browsable that contains browsable items categorized by genre.

This value matches with the folder type 'Genres' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
4
(0x0000000000000004)

BROWSABLE_TYPE_MIXED

public static final long BROWSABLE_TYPE_MIXED

The type of browsable that is unknown or contains media items of mixed types.

This value matches with the folder type 'Mixed' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
0
(0x0000000000000000)

BROWSABLE_TYPE_NONE

public static final long BROWSABLE_TYPE_NONE

The type of browsable for non-browsable media item.

Constant Value:
-1
(0xffffffffffffffff)

BROWSABLE_TYPE_PLAYLISTS

public static final long BROWSABLE_TYPE_PLAYLISTS

The type of browsable that contains browsable items categorized by playlist.

This value matches with the folder type 'Playlists' as specified in the section 6.10.2.2 of
the Bluetooth AVRCP 1.5.

Constant Value:
5
(0x0000000000000005)

BROWSABLE_TYPE_TITLES

public static final long BROWSABLE_TYPE_TITLES

The type of browsable that only contains playable media items.

This value matches with the folder type 'Titles' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
1
(0x0000000000000001)

BROWSABLE_TYPE_YEARS

public static final long BROWSABLE_TYPE_YEARS

The type of browsable that contains browsable items categorized by year.

This value matches with the folder type 'Years' as specified in the section 6.10.2.2 of the
Bluetooth AVRCP 1.5.

Constant Value:
6
(0x0000000000000006)

METADATA_KEY_ADVERTISEMENT

public static final String METADATA_KEY_ADVERTISEMENT

The metadata key for a Long typed value to retrieve the information about whether
the media is an advertisement. A value of 0 indicates it is not an advertisement.
A value of 1 or non-zero indicates it is an advertisement.
If not specified, this value is set to 0 by default.

METADATA_KEY_ALBUM_ART

public static final String METADATA_KEY_ALBUM_ART

The metadata key for a Bitmap typed value to retrieve the information about the
artwork for the album of the media's original source.
The artwork should be relatively small and may be scaled down if it is too large.
For higher resolution artwork, METADATA_KEY_ALBUM_ART_URI should be used instead.

METADATA_KEY_ART

public static final String METADATA_KEY_ART

The metadata key for a Bitmap typed value to retrieve the information about the
artwork for the media.
The artwork should be relatively small and may be scaled down if it is too large.
For higher resolution artwork, METADATA_KEY_ART_URI should be used instead.

METADATA_KEY_DISPLAY_DESCRIPTION

public static final String METADATA_KEY_DISPLAY_DESCRIPTION

The metadata key for a CharSequence or String typed value to retrieve the
information about the description that is suitable for display to the user.
When displaying more information for media described by this metadata,
this should be preferred to other fields if present.

METADATA_KEY_DISPLAY_ICON

public static final String METADATA_KEY_DISPLAY_ICON

The metadata key for a Bitmap typed value to retrieve the information about the icon
or thumbnail that is suitable for display to the user.
When displaying an icon for media described by this metadata, this should be preferred to
other fields if present.

The icon should be relatively small and may be scaled down if it is too large.
For higher resolution artwork, METADATA_KEY_DISPLAY_ICON_URI should be used instead.

METADATA_KEY_DISPLAY_ICON_URI

public static final String METADATA_KEY_DISPLAY_ICON_URI

The metadata key for a CharSequence or String typed value to retrieve the
information about the Uri of icon or thumbnail that is suitable for display to the user.
When displaying more information for media described by this metadata, the
display description should be preferred to other fields when present.

METADATA_KEY_DISPLAY_SUBTITLE

public static final String METADATA_KEY_DISPLAY_SUBTITLE

The metadata key for a CharSequence or String typed value to retrieve the
information about the subtitle that is suitable for display to the user.
When displaying a second line for media described by this metadata, this should be preferred
to other fields if present.

METADATA_KEY_DISPLAY_TITLE

public static final String METADATA_KEY_DISPLAY_TITLE

The metadata key for a CharSequence or String typed value to retrieve the
information about the title that is suitable for display to the user.
It will generally be the same as METADATA_KEY_TITLE but may differ for some formats.
When displaying media described by this metadata, this should be preferred if present.

METADATA_KEY_MEDIA_ID

public static final String METADATA_KEY_MEDIA_ID

The metadata key for a CharSequence or String typed value to retrieve the
information about the media ID of the content. This value is specific to the
service providing the content. If used, this should be a persistent key for the underlying
content. This ID is used by MediaController and
MediaBrowser.

METADATA_KEY_PLAYABLE

public static final String METADATA_KEY_PLAYABLE

The metadata key for a Long typed value to retrieve the information about whether
the media is playable. A value of 0 indicates it is not a playable item.
A value of 1 or non-zero indicates it is playable.

METADATA_KEY_USER_RATING

public static final String METADATA_KEY_USER_RATING

The metadata key for a Rating typed value to retrieve the information about the
user's rating for the media. Prefer to have unrated user rating instead of null, so
MediaController can know the possible user rating type.