Stay organized with collections
Save and categorize content based on your preferences.
public
static
final
class
MediaStore.Audio.Genres.Members
extends Object
implements
MediaStore.Audio.AudioColumns
Sub-directory of each genre containing all members.
Summary
Inherited constants |
From interface
android.provider.MediaStore.Audio.AudioColumns
String |
ALBUM_ID
The id of the album the audio file is from, if any
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
ALBUM_KEY
This constant 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 .
|
String |
ARTIST_ID
The id of the artist who created the audio file, if any
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
ARTIST_KEY
This constant 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 .
|
String |
BITS_PER_SAMPLE
The number of bits used to represent each audio sample, if available.
|
String |
BOOKMARK
The position within the audio item at which playback should be
resumed.
|
String |
GENRE
The genre of the audio file, if any.
|
String |
GENRE_ID
The id of the genre the audio file is from, if any
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
GENRE_KEY
This constant 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 .
|
String |
IS_ALARM
Non-zero if the audio file may be an alarm
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_AUDIOBOOK
Non-zero if the audio file is an audiobook
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_MUSIC
Non-zero if the audio file is music
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_NOTIFICATION
Non-zero if the audio file may be a notification sound
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_PODCAST
Non-zero if the audio file is a podcast
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_RECORDING
Non-zero if the audio file is a voice recording recorded
by voice recorder apps
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
IS_RINGTONE
Non-zero if the audio file may be a ringtone
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
String |
SAMPLERATE
The sample rate in Hz, if available.
|
String |
TITLE_KEY
This constant 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 .
|
String |
TITLE_RESOURCE_URI
The resource URI of a localized title, if any.
|
String |
TRACK
The track number of this song on the album, if any.
|
String |
YEAR
The year the audio file was recorded, if any
This constant represents a column name that can be used with a ContentProvider through a ContentValues or Cursor object.
|
|
|
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long timeoutMillis, int nanos)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait(long timeoutMillis)
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted, or until a
certain amount of real time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until it is awakened, typically
by being notified or interrupted.
|
|
Constants
CONTENT_DIRECTORY
public static final String CONTENT_DIRECTORY
A subdirectory of each genre containing all member audio files.
Constant Value:
"members"
DEFAULT_SORT_ORDER
public static final String DEFAULT_SORT_ORDER
The default sort order for this table
Constant Value:
"title_key"
Public constructors
Members
public Members ()
Public methods
getContentUri
public static Uri getContentUri (String volumeName,
long genreId)
Parameters |
volumeName |
String |
genreId |
long |
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-01-23 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-01-23 UTC."],[],[]]