to top
Android APIs
public static final class

MediaStore.Audio.Playlists.Members

extends Object
implements MediaStore.Audio.AudioColumns
java.lang.Object
   ↳ android.provider.MediaStore.Audio.Playlists.Members

Class Overview

Sub-directory of each playlist containing all members.

Summary

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.
[Expand]
Inherited Constants
From interface android.provider.BaseColumns
From interface android.provider.MediaStore.Audio.AudioColumns
From interface android.provider.MediaStore.MediaColumns
Public Constructors
MediaStore.Audio.Playlists.Members()
Public Methods
final static Uri getContentUri(String volumeName, long playlistId)
final static boolean moveItem(ContentResolver res, long playlistId, int from, int to)
Convenience method to move a playlist item to a new location
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String AUDIO_ID

Added in API level 1

The ID of the audio file

Type: INTEGER (long)

Constant Value: "audio_id"

public static final String CONTENT_DIRECTORY

Added in API level 1

A subdirectory of each playlist containing all member audio files.

Constant Value: "members"

public static final String DEFAULT_SORT_ORDER

Added in API level 1

The default sort order for this table

Constant Value: "play_order"

public static final String PLAYLIST_ID

Added in API level 1

The ID of the playlist

Type: INTEGER (long)

Constant Value: "playlist_id"

public static final String PLAY_ORDER

Added in API level 1

The order of the songs in the playlist

Type: INTEGER (long)>

Constant Value: "play_order"

public static final String _ID

Added in API level 1

The ID within the playlist.

Constant Value: "_id"

Public Constructors

public MediaStore.Audio.Playlists.Members ()

Added in API level 1

Public Methods

public static final Uri getContentUri (String volumeName, long playlistId)

Added in API level 1

public static final boolean moveItem (ContentResolver res, long playlistId, int from, int to)

Added in API level 8

Convenience method to move a playlist item to a new location

Parameters
res The content resolver to use
playlistId The numeric id of the playlist
from The position of the item to move
to The position to move the item to
Returns
  • true on success