MediaStore.Audio.Playlists.Members | API reference | Android Developers
public
static
final
class
MediaStore.Audio.Playlists.Members
extends Object
implements
MediaStore.Audio.AudioColumns
Sub-directory of each playlist containing all members.
Summary
Constants | |
|---|---|
String |
AUDIO_ID
The ID of the audio file. |
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. |
String |
PLAY_ORDER
The order of the songs in the playlist. |
String |
_ID
The ID within the playlist. |
Inherited constants | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From interface
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
From interface
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
From interface
|
Public constructors | |
|---|---|
Members()
|
|
Public methods | |
|---|---|
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 |
Inherited methods | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
From class
| |||||||||||||||||||||||
Constants
CONTENT_DIRECTORY
public static final String CONTENT_DIRECTORY
A subdirectory of each playlist containing all member audio files.
Constant Value: "members"
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
The default sort order for this table
Constant Value: "play_order"
Public constructors
Members
public Members ()
Public methods
getContentUri
public static Uri getContentUri (String volumeName, long playlistId)
| Parameters | |
|---|---|
volumeName |
String |
playlistId |
long |
| Returns | |
|---|---|
Uri |
|
moveItem
public static 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 |