Stay organized with collections
Save and categorize content based on your preferences.
ArtistColumns
interface ArtistColumns
Audio artist metadata columns.
Summary
Constants
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# MediaStore.Audio.ArtistColumns\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nArtistColumns\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/provider/MediaStore.Audio.ArtistColumns \"View this page in Java\") \n\n```\ninterface ArtistColumns\n```\n\n|------------------------------------------------------|\n| [android.provider.MediaStore.Audio.ArtistColumns](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [MediaStore.Audio.Artists](/reference/kotlin/android/provider/MediaStore.Audio.Artists) |-----------------------------------------------------------------------------------------|----------------------------------| | [MediaStore.Audio.Artists](/reference/kotlin/android/provider/MediaStore.Audio.Artists) | Contains artists for audio files | |\n\nAudio artist metadata columns.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ARTIST](#ARTIST:kotlin.String) The artist who created the audio file, if any This constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [ARTIST_KEY](#ARTIST_KEY:kotlin.String) 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 [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NUMBER_OF_ALBUMS](#NUMBER_OF_ALBUMS:kotlin.String) The number of albums in the database for this artist This constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. |\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [NUMBER_OF_TRACKS](#NUMBER_OF_TRACKS:kotlin.String) The number of albums in the database for this artist This constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. |\n\nConstants\n---------\n\n### ARTIST\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ARTIST: String\n```\n\nThe artist who created the audio file, if any \nThis constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. The values stored in this column are [Cursor#FIELD_TYPE_STRING](../database/Cursor.html#FIELD_TYPE_STRING:kotlin.Int) , and are read-only and cannot be mutated. \n\n Value: \"artist\"\n\n### ARTIST_KEY\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val ARTIST_KEY: String\n```\n\n**Deprecated:** *These keys are generated using [java.util.Locale#ROOT](../../java/util/Locale.html#ROOT:java.util.Locale), which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use [ContentResolver.QUERY_ARG_SQL_SORT_ORDER](../content/ContentResolver.html#QUERY_ARG_SQL_SORT_ORDER:kotlin.String) with `COLLATE LOCALIZED`, or [ContentResolver.QUERY_ARG_SORT_LOCALE](../content/ContentResolver.html#QUERY_ARG_SORT_LOCALE:kotlin.String).*\n\nA non human readable key calculated from the ARTIST, used for searching, sorting and grouping \nThis constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. The values stored in this column are [Cursor#FIELD_TYPE_STRING](../database/Cursor.html#FIELD_TYPE_STRING:kotlin.Int) , and are read-only and cannot be mutated. \n\n Value: \"artist_key\"\n\n**See Also**\n\n- [android.provider.MediaStore.Audio#keyFor(String)](/reference/kotlin/android/provider/MediaStore.Audio#keyFor(kotlin.String)) \n\n### NUMBER_OF_ALBUMS\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NUMBER_OF_ALBUMS: String\n```\n\nThe number of albums in the database for this artist \nThis constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. The values stored in this column are [Cursor#FIELD_TYPE_INTEGER](../database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int) , and are read-only and cannot be mutated. \n\n Value: \"number_of_albums\"\n\n### NUMBER_OF_TRACKS\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val NUMBER_OF_TRACKS: String\n```\n\nThe number of albums in the database for this artist \nThis constant represents a column name that can be used with a [android.content.ContentProvider](../content/ContentProvider.html#) through a [android.content.ContentValues](../content/ContentValues.html#) or [android.database.Cursor](../database/Cursor.html#) object. The values stored in this column are [Cursor#FIELD_TYPE_INTEGER](../database/Cursor.html#FIELD_TYPE_INTEGER:kotlin.Int) , and are read-only and cannot be mutated. \n\n Value: \"number_of_tracks\""]]