Added in API level 1
Deprecated in API level 31

Members


class Members : MediaStore.Audio.AudioColumns
kotlin.Any
   ↳ android.provider.MediaStore.Audio.Playlists.Members

Sub-directory of each playlist containing all members.

Summary

Constants
static String

The ID of the audio file.

static String

A subdirectory of each playlist containing all member audio files.

static String

The default sort order for this table

static String

The ID of the playlist.

static String

The order of the songs in the playlist.

static String

The ID within the playlist.

Inherited constants
Public constructors

Public methods
static Uri!
getContentUri(volumeName: String!, playlistId: Long)

static Boolean
moveItem(res: ContentResolver!, playlistId: Long, from: Int, to: Int)

Convenience method to move a playlist item to a new location

Constants

AUDIO_ID

Added in API level 1
static val AUDIO_ID: String

Deprecated: Deprecated in Java.

The ID of the audio file.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER .

Value: "audio_id"

CONTENT_DIRECTORY

Added in API level 1
static val CONTENT_DIRECTORY: String

Deprecated: Deprecated in Java.

A subdirectory of each playlist containing all member audio files.

Value: "members"

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

Deprecated: Deprecated in Java.

The default sort order for this table

Value: "play_order"

PLAYLIST_ID

Added in API level 1
static val PLAYLIST_ID: String

Deprecated: Deprecated in Java.

The ID of the playlist.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER .

Value: "playlist_id"

PLAY_ORDER

Added in API level 1
static val PLAY_ORDER: String

Deprecated: Deprecated in Java.

The order of the songs in the playlist.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER .

Value: "play_order"

_ID

Added in API level 1
static val _ID: String

Deprecated: Deprecated in Java.

The ID within the playlist.
This constant represents a column name that can be used with a android.content.ContentProvider through a android.content.ContentValues or android.database.Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER .

Value: "_id"

Public constructors

Members

Added in API level 1
Members()

Public methods

getContentUri

Added in API level 1
static fun getContentUri(
    volumeName: String!,
    playlistId: Long
): Uri!

Deprecated: Deprecated in Java.

moveItem

Added in API level 8
Deprecated in API level 31
static fun moveItem(
    res: ContentResolver!,
    playlistId: Long,
    from: Int,
    to: Int
): Boolean

Deprecated: Deprecated in Java.

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
Return
Boolean true on success