Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/provider/MediaStore.Audio.ArtistColumns#constants)

# MediaStore.Audio.ArtistColumns

*** ** * ** ***

` public static interface MediaStore.Audio.ArtistColumns `   
` `

|---|
| android.provider.MediaStore.Audio.ArtistColumns |

Known indirect subclasses [MediaStore.Audio.Artists](https://developer.android.com/reference/android/provider/MediaStore.Audio.Artists) [MediaStore.Audio.Artists](https://developer.android.com/reference/android/provider/MediaStore.Audio.Artists) Contains artists for audio files   

*** ** * ** ***

Audio artist metadata columns.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Audio.ArtistColumns#ARTIST` The artist who created the audio file, if any. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Audio.ArtistColumns#ARTIST_KEY` *This constant was deprecated in API level 30. These keys are generated using `https://developer.android.com/reference/java/util/Locale#ROOT`, which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use `https://developer.android.com/reference/android/content/ContentResolver#QUERY_ARG_SQL_SORT_ORDER` with `COLLATE LOCALIZED`, or `https://developer.android.com/reference/android/content/ContentResolver#QUERY_ARG_SORT_LOCALE`.* |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Audio.ArtistColumns#NUMBER_OF_ALBUMS` The number of albums in the database for this artist. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/provider/MediaStore.Audio.ArtistColumns#NUMBER_OF_TRACKS` The number of albums in the database for this artist. |

## Constants

### ARTIST

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ARTIST
```

The artist who created the audio file, if any.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_STRING` , and are read-only and cannot be mutated.

<br />

Constant Value: "artist"

### ARTIST_KEY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String ARTIST_KEY
```

<br />

**This constant was deprecated in API level 30.**   

These keys are generated using `https://developer.android.com/reference/java/util/Locale#ROOT`, which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use `https://developer.android.com/reference/android/content/ContentResolver#QUERY_ARG_SQL_SORT_ORDER` with `COLLATE LOCALIZED`, or `https://developer.android.com/reference/android/content/ContentResolver#QUERY_ARG_SORT_LOCALE`.

A non human readable key calculated from the ARTIST, used for searching, sorting and grouping.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_STRING` , and are read-only and cannot be mutated.

<br />

**See also:**

- `https://developer.android.com/reference/android/provider/MediaStore.Audio#keyFor(java.lang.String)`

Constant Value: "artist_key"

### NUMBER_OF_ALBUMS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NUMBER_OF_ALBUMS
```

The number of albums in the database for this artist.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` , and are read-only and cannot be mutated.

<br />

Constant Value: "number_of_albums"

### NUMBER_OF_TRACKS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String NUMBER_OF_TRACKS
```

The number of albums in the database for this artist.   

This constant represents a column name that can be used with a `https://developer.android.com/reference/android/content/ContentProvider` through a `https://developer.android.com/reference/android/content/ContentValues` or `https://developer.android.com/reference/android/database/Cursor` object. The values stored in this column are `https://developer.android.com/reference/android/database/Cursor#FIELD_TYPE_INTEGER` , and are read-only and cannot be mutated.

<br />

Constant Value: "number_of_tracks"