Added in API level 1
Deprecated in API level 31

Playlists

class Playlists : BaseColumns, MediaStore.Audio.PlaylistsColumns
kotlin.Any
   ↳ android.provider.MediaStore.Audio.Playlists

Contains playlists for audio files

Summary

Nested classes

Sub-directory of each playlist containing all members.

Constants
static String

The MIME type for this table.

static String

The default sort order for this table

static String

The MIME type for entries in this table.

Inherited constants
Public constructors

Public methods
static Uri!
getContentUri(volumeName: String!)

Get the content:// style URI for the audio playlists table on the given volume.

Properties
static Uri!

The content:// style URI for the "primary" external storage volume.

static Uri!

The content:// style URI for the internal storage.

Constants

CONTENT_TYPE

Added in API level 1
static val CONTENT_TYPE: String

Deprecated: Deprecated in Java.

The MIME type for this table.

Value: "vnd.android.cursor.dir/playlist"

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: "name"

ENTRY_CONTENT_TYPE

Added in API level 1
static val ENTRY_CONTENT_TYPE: String

Deprecated: Deprecated in Java.

The MIME type for entries in this table.

Value: "vnd.android.cursor.item/playlist"

Public constructors

Playlists

Added in API level 1
Playlists()

Public methods

getContentUri

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

Deprecated: Deprecated in Java.

Get the content:// style URI for the audio playlists table on the given volume.

Parameters
volumeName String!: the name of the volume to get the URI for
Return
Uri! the URI to the audio playlists table on the given volume

Properties

EXTERNAL_CONTENT_URI

Added in API level 1
static val EXTERNAL_CONTENT_URI: Uri!

Deprecated: Deprecated in Java.

The content:// style URI for the "primary" external storage volume.

INTERNAL_CONTENT_URI

Added in API level 1
static val INTERNAL_CONTENT_URI: Uri!

Deprecated: Deprecated in Java.

The content:// style URI for the internal storage.