public static final class MediaStore.Audio.Playlists.Members extends Object implements MediaStore.Audio.AudioColumns
Modifier and Type | Field and Description |
---|---|
static String |
_ID
The ID within the playlist.
|
static String |
AUDIO_ID
The ID of the audio file
|
static String |
CONTENT_DIRECTORY
A subdirectory of each playlist containing all member audio
files.
|
static String |
DEFAULT_SORT_ORDER
The default sort order for this table
|
static String |
PLAY_ORDER
The order of the songs in the playlist
|
static String |
PLAYLIST_ID
The ID of the playlist
|
ALBUM, ALBUM_ARTIST, ALBUM_ID, ALBUM_KEY, ARTIST, ARTIST_ID, ARTIST_KEY, BOOKMARK, COMPILATION, COMPOSER, DURATION, GENRE, IS_ALARM, IS_MUSIC, IS_NOTIFICATION, IS_PODCAST, IS_RINGTONE, TITLE_KEY, TRACK, YEAR
DATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, HEIGHT, IS_DRM, MEDIA_SCANNER_NEW_OBJECT_ID, MIME_TYPE, SIZE, TITLE, WIDTH
_COUNT
Constructor and Description |
---|
MediaStore.Audio.Playlists.Members() |
Modifier and Type | Method and Description |
---|---|
static Uri |
getContentUri(String volumeName,
long playlistId) |
static boolean |
moveItem(ContentResolver res,
long playlistId,
int from,
int to)
Convenience method to move a playlist item to a new location
|
public static final String _ID
public static final String CONTENT_DIRECTORY
public static final String AUDIO_ID
Type: INTEGER (long)
public static final String PLAYLIST_ID
Type: INTEGER (long)
public static final String PLAY_ORDER
Type: INTEGER (long)>
public static final String DEFAULT_SORT_ORDER
public static final boolean moveItem(ContentResolver res, long playlistId, int from, int to)
res
- The content resolver to useplaylistId
- The numeric id of the playlistfrom
- The position of the item to moveto
- The position to move the item to