Added in API level 1

Albums

class Albums : BaseColumns, MediaStore.Audio.AlbumColumns
kotlin.Any
   ↳ android.provider.MediaStore.Audio.Albums

Contains artists for audio files

Summary

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 albums 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

The MIME type for this table.

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

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

The default sort order for this table

Value: "album_key"

ENTRY_CONTENT_TYPE

Added in API level 1
static val ENTRY_CONTENT_TYPE: String

The MIME type for entries in this table.

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

Public constructors

Albums

Added in API level 1
Albums()

Public methods

getContentUri

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

Get the content:// style URI for the albums 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 albums table on the given volume

Properties

EXTERNAL_CONTENT_URI

Added in API level 1
static val EXTERNAL_CONTENT_URI: Uri!

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

INTERNAL_CONTENT_URI

Added in API level 1
static val INTERNAL_CONTENT_URI: Uri!

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