Added in API level 1
Deprecated in API level 31

MediaStore.Audio.PlaylistsColumns


public static interface MediaStore.Audio.PlaylistsColumns
implements MediaStore.MediaColumns

android.provider.MediaStore.Audio.PlaylistsColumns


This interface was deprecated in API level 31.
Android playlists are now deprecated. We will keep the current functionality for compatibility reasons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative.

Audio playlist metadata columns.

Summary

Constants

String DATA

Path to the playlist file on disk.

String DATE_ADDED

The time the media item was first added.

String DATE_MODIFIED

The time the media item was last modified.

String NAME

The name of the playlist
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.

Inherited constants

Constants

DATA

Added in API level 1
Deprecated in API level 29
public static final String DATA

Path to the playlist file on disk.
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_STRING .

Constant Value: "_data"

DATE_ADDED

Added in API level 1
public static final String DATE_ADDED

The time the media item was first added.
Value is a non-negative timestamp measured as the number of seconds since 1970-01-01T00:00:00Z.
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Constant Value: "date_added"

DATE_MODIFIED

Added in API level 1
public static final String DATE_MODIFIED

The time the media item was last modified.
Value is a non-negative timestamp measured as the number of seconds since 1970-01-01T00:00:00Z.
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object. The values stored in this column are Cursor#FIELD_TYPE_INTEGER , and are read-only and cannot be mutated.

Constant Value: "date_modified"

NAME

Added in API level 1
public static final String NAME

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

Constant Value: "name"