Added in API level 1

Audio


class Audio
kotlin.Any
   ↳ android.provider.MediaStore.Audio

Collection of all media with MIME type of audio/*.

Summary

Nested classes
abstract

Audio album metadata columns.

Contains artists for audio files

abstract

Audio artist metadata columns.

Contains artists for audio files

abstract

Audio metadata columns.

Contains all genres for audio files

abstract

Audio genre metadata columns.

Contains playlists for audio files

abstract

Audio playlist metadata columns.

Public constructors

Public methods
static String?
keyFor(name: String?)

Converts a user-visible string into a "key" that can be used for grouping, sorting, and searching.

Public constructors

Audio

Added in API level 1
Audio()

Public methods

keyFor

Added in API level 1
Deprecated in API level 30
static fun keyFor(name: String?): String?

Deprecated: These keys are generated using java.util.Locale#ROOT, which means they don't reflect locale-specific sorting preferences. To apply locale-specific sorting preferences, use ContentResolver#QUERY_ARG_SQL_SORT_ORDER with COLLATE LOCALIZED, or ContentResolver#QUERY_ARG_SORT_LOCALE.

Converts a user-visible string into a "key" that can be used for grouping, sorting, and searching.

Parameters
name String?: This value may be null.
Return
String? Opaque token that should not be parsed or displayed to users. This value may be null.