Skip to content

Most visited

Recently visited

navigation

MediaStore.Audio.Artists

public static final class MediaStore.Audio.Artists
extends Object implements BaseColumns, MediaStore.Audio.ArtistColumns

java.lang.Object
   ↳ android.provider.MediaStore.Audio.Artists


Contains artists for audio files

Summary

Nested classes

class MediaStore.Audio.Artists.Albums

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

Constants

String CONTENT_TYPE

The MIME type for this table.

String DEFAULT_SORT_ORDER

The default sort order for this table

String ENTRY_CONTENT_TYPE

The MIME type for entries in this table.

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.MediaStore.Audio.ArtistColumns

Fields

public static final Uri EXTERNAL_CONTENT_URI

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

public static final Uri INTERNAL_CONTENT_URI

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

Public constructors

MediaStore.Audio.Artists()

Public methods

static Uri getContentUri(String volumeName)

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

Inherited methods

From class java.lang.Object

Constants

CONTENT_TYPE

Added in API level 1
String CONTENT_TYPE

The MIME type for this table.

Constant Value: "vnd.android.cursor.dir/artists"

DEFAULT_SORT_ORDER

Added in API level 1
String DEFAULT_SORT_ORDER

The default sort order for this table

Constant Value: "artist_key"

ENTRY_CONTENT_TYPE

Added in API level 1
String ENTRY_CONTENT_TYPE

The MIME type for entries in this table.

Constant Value: "vnd.android.cursor.item/artist"

Fields

EXTERNAL_CONTENT_URI

Added in API level 1
Uri EXTERNAL_CONTENT_URI

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

INTERNAL_CONTENT_URI

Added in API level 1
Uri INTERNAL_CONTENT_URI

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

Public constructors

MediaStore.Audio.Artists

Added in API level 1
MediaStore.Audio.Artists ()

Public methods

getContentUri

Added in API level 1
Uri getContentUri (String volumeName)

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
Returns
Uri the URI to the audio artists table on the given volume
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.