public static final class MediaStore.Audio.Playlists.Members
extends Object
implements MediaStore.Audio.AudioColumns
java.lang.Object | |
↳ | android.provider.MediaStore.Audio.Playlists.Members |
Sub-directory of each playlist containing all members.
Constants |
|
---|---|
String |
AUDIO_ID The ID of the audio file Type: INTEGER (long) |
String |
CONTENT_DIRECTORY A subdirectory of each playlist containing all member audio files. |
String |
DEFAULT_SORT_ORDER The default sort order for this table |
String |
PLAYLIST_ID The ID of the playlist Type: INTEGER (long) |
String |
PLAY_ORDER The order of the songs in the playlist Type: INTEGER (long)> |
String |
_ID The ID within the playlist. |
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) Convenience method to move a playlist item to a new location |
Inherited methods |
|
---|---|
![]() java.lang.Object
|
String AUDIO_ID
The ID of the audio file
Type: INTEGER (long)
Constant Value: "audio_id"
String CONTENT_DIRECTORY
A subdirectory of each playlist containing all member audio files.
Constant Value: "members"
String DEFAULT_SORT_ORDER
The default sort order for this table
Constant Value: "play_order"
String PLAYLIST_ID
The ID of the playlist
Type: INTEGER (long)
Constant Value: "playlist_id"
String PLAY_ORDER
The order of the songs in the playlist
Type: INTEGER (long)>
Constant Value: "play_order"
Uri getContentUri (String volumeName, long playlistId)
Parameters | |
---|---|
volumeName |
String
|
playlistId |
long
|
Returns | |
---|---|
Uri |
boolean moveItem (ContentResolver res, long playlistId, int from, int to)
Convenience method to move a playlist item to a new location
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 |