Most visited

Recently visited

Added in API level 1

MediaStore.Audio.Genres

public static final class MediaStore.Audio.Genres
extends Object implements BaseColumns, MediaStore.Audio.GenresColumns

java.lang.Object
    android.provider.MediaStore.Audio.Genres


包含音频文件的所有流派

摘要(Summary)

Nested classes

class MediaStore.Audio.Genres.Members

包含所有成员的每个流派的子目录。

常量(Constants)

String CONTENT_TYPE

此表的MIME类型。

String DEFAULT_SORT_ORDER

此表的默认排序顺序

String ENTRY_CONTENT_TYPE

此表中条目的MIME类型。

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.MediaStore.Audio.GenresColumns

Fields

public static final Uri EXTERNAL_CONTENT_URI

内容://“主”外部存储卷的样式URI。

public static final Uri INTERNAL_CONTENT_URI

内容://内部存储的样式URI。

Public constructors

MediaStore.Audio.Genres()

公共方法(Public methods)

static Uri getContentUri(String volumeName)

获取给定卷上音频流派表的content:// style URI。

static Uri getContentUriForAudioId(String volumeName, int audioId)

获取用于查询音频文件流派的内容:// style URI。

继承方法(Inherited methods)

From class java.lang.Object

常量(Constants)

CONTENT_TYPE

Added in API level 1
String CONTENT_TYPE

此表的MIME类型。

常量值:“vnd.android.cursor.dir / genre”

DEFAULT_SORT_ORDER

Added in API level 1
String DEFAULT_SORT_ORDER

此表的默认排序顺序

常量值:“名称”

ENTRY_CONTENT_TYPE

Added in API level 1
String ENTRY_CONTENT_TYPE

此表中条目的MIME类型。

常量值:“vnd.android.cursor.item / genre”

Fields

EXTERNAL_CONTENT_URI

Added in API level 1
Uri EXTERNAL_CONTENT_URI

内容://“主”外部存储卷的样式URI。

INTERNAL_CONTENT_URI

Added in API level 1
Uri INTERNAL_CONTENT_URI

内容://内部存储的样式URI。

Public constructors

MediaStore.Audio.Genres

Added in API level 1
MediaStore.Audio.Genres ()

公共方法(Public methods)

getContentUri

Added in API level 1
Uri getContentUri (String volumeName)

获取给定卷上音频流派表的content:// style URI。

参数(Parameters)
volumeName String: the name of the volume to get the URI for
返回(Returns)
Uri the URI to the audio genres table on the given volume

getContentUriForAudioId

Added in API level 11
Uri getContentUriForAudioId (String volumeName, 
                int audioId)

获取用于查询音频文件流派的内容:// style URI。

参数(Parameters)
volumeName String: the name of the volume to get the URI for
audioId int: the ID of the audio file for which to retrieve the genres
返回(Returns)
Uri the URI to for querying the genres for the audio file with the given the volume and audioID

Hooray!