Added in API level 1

Artists


class Artists : BaseColumns, MediaStore.Audio.ArtistColumns
kotlin.Any
   ↳ android.provider.MediaStore.Audio.Artists

Contains artists for audio files

Summary

Nested classes

Sub-directory of each artist containing all albums on which a song by the artist appears.

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 artists 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/artists"

DEFAULT_SORT_ORDER

Added in API level 1
static val DEFAULT_SORT_ORDER: String

The default sort order for this table

Value: "artist_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/artist"

Public constructors

Artists

Added in API level 1
Artists()

Public methods

getContentUri

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

Get the content:// style URI for the artists 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 artists 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.