public static final class MediaStore.Audio.Playlists.Members
extends Object implements MediaStore.Audio.AudioColumns
| java.lang.Object | |
| android.provider.MediaStore.Audio.Playlists.Members | |
包含所有成员的每个播放列表的子目录。
常量(Constants) |
|
|---|---|
String |
AUDIO_ID 音频文件的ID 类型:INTEGER(长) |
String |
CONTENT_DIRECTORY 包含所有成员音频文件的每个播放列表的子目录。 |
String |
DEFAULT_SORT_ORDER 此表的默认排序顺序 |
String |
PLAYLIST_ID 播放列表的ID 类型:INTEGER(长) |
String |
PLAY_ORDER 播放列表中歌曲的顺序 类型:INTEGER(long)> |
String |
_ID 播放列表中的ID。 |
Inherited constants |
|---|
android.provider.MediaStore.Audio.AudioColumns
|
android.provider.MediaStore.MediaColumns
|
android.provider.BaseColumns
|
Public constructors |
|
|---|---|
MediaStore.Audio.Playlists.Members() |
|
公共方法(Public methods) |
|
|---|---|
static final Uri |
getContentUri(String volumeName, long playlistId) |
static final boolean |
moveItem(ContentResolver res, long playlistId, int from, int to) 将播放列表项目移动到新位置的便捷方法 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
Uri getContentUri (String volumeName, long playlistId)
| 参数(Parameters) | |
|---|---|
volumeName |
String
|
playlistId |
long
|
| 返回(Returns) | |
|---|---|
Uri |
|
boolean moveItem (ContentResolver res, long playlistId, int from, int to)
将播放列表项目移动到新位置的便捷方法
| 参数(Parameters) | |
|---|---|
res |
ContentResolver: The content resolver to use |
playlistId |
long: The numeric id of the playlist |
from |
int: The position of the item to move |
to |
int: The position to move the item to |
| 返回(Returns) | |
|---|---|
boolean |
true on success |