MediaStore.Audio
public
static
final
class
MediaStore.Audio
extends Object
java.lang.Object | |
↳ | android.provider.MediaStore.Audio |
Collection of all media with MIME type of audio/*
.
Summary
Nested classes | |
---|---|
interface |
MediaStore.Audio.AlbumColumns
Audio album metadata columns. |
class |
MediaStore.Audio.Albums
Contains artists for audio files |
interface |
MediaStore.Audio.ArtistColumns
Audio artist metadata columns. |
class |
MediaStore.Audio.Artists
Contains artists for audio files |
interface |
MediaStore.Audio.AudioColumns
Audio metadata columns. |
class |
MediaStore.Audio.Genres
Contains all genres for audio files |
interface |
MediaStore.Audio.GenresColumns
Audio genre metadata columns. |
class |
MediaStore.Audio.Media
|
class |
MediaStore.Audio.Playlists
This class was deprecated in API level 31. Android playlists are now deprecated. We will keep the current functionality for compatibility resons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative. |
interface |
MediaStore.Audio.PlaylistsColumns
This interface was deprecated in API level 31. Android playlists are now deprecated. We will keep the current functionality for compatibility reasons, but we will no longer take feature request. We do not advise adding new usages of Android Playlists. M3U files can be used as an alternative. |
class |
MediaStore.Audio.Radio
|
Public constructors | |
---|---|
Audio()
|
Public methods | |
---|---|
static
String
|
keyFor(String name)
This method was deprecated
in API level 30.
These keys are generated using
|
Inherited methods | |
---|---|
Public constructors
Public methods
keyFor
public static String keyFor (String name)
This method was deprecated
in API level 30.
These keys are generated using
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 . |
Returns | |
---|---|
String |
Opaque token that should not be parsed or displayed to users.
This value may be null . |
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 2024-04-04 UTC.