public static final class MediaStore.Audio.Genres extends Object implements BaseColumns, MediaStore.Audio.GenresColumns
Modifier and Type | Class and Description |
---|---|
static class |
MediaStore.Audio.Genres.Members
Sub-directory of each genre containing all members.
|
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE
The MIME type for this table.
|
static String |
DEFAULT_SORT_ORDER
The default sort order for this table
|
static String |
ENTRY_CONTENT_TYPE
The MIME type for entries in this table.
|
static Uri |
EXTERNAL_CONTENT_URI
The content:// style URI for the "primary" external storage
volume.
|
static Uri |
INTERNAL_CONTENT_URI
The content:// style URI for the internal storage.
|
_COUNT, _ID
NAME
Constructor and Description |
---|
MediaStore.Audio.Genres() |
Modifier and Type | Method and Description |
---|---|
static Uri |
getContentUri(String volumeName)
Get the content:// style URI for the audio genres table on the
given volume.
|
static Uri |
getContentUriForAudioId(String volumeName,
int audioId)
Get the content:// style URI for querying the genres of an audio file.
|
public static final Uri INTERNAL_CONTENT_URI
public static final Uri EXTERNAL_CONTENT_URI
public static final String CONTENT_TYPE
public static final String ENTRY_CONTENT_TYPE
public static final String DEFAULT_SORT_ORDER
public static Uri getContentUri(String volumeName)
volumeName
- the name of the volume to get the URI forpublic static Uri getContentUriForAudioId(String volumeName, int audioId)
volumeName
- the name of the volume to get the URI foraudioId
- the ID of the audio file for which to retrieve the genres