public static final class MediaStore.Audio.Media extends Object implements MediaStore.Audio.AudioColumns
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE
The MIME type for this table.
|
static String |
DEFAULT_SORT_ORDER
The default sort order for this table
|
static Uri |
EXTERNAL_CONTENT_URI
The content:// style URI for the "primary" external storage
volume.
|
static String |
EXTRA_MAX_BYTES
The name of the Intent-extra used to define a maximum file size for
a recording made by the SoundRecorder application.
|
static Uri |
INTERNAL_CONTENT_URI
The content:// style URI for the internal storage.
|
static String |
RECORD_SOUND_ACTION
Activity Action: Start SoundRecorder application.
|
ALBUM, ALBUM_ARTIST, ALBUM_ID, ALBUM_KEY, ARTIST, ARTIST_ID, ARTIST_KEY, BOOKMARK, COMPILATION, COMPOSER, DURATION, GENRE, IS_ALARM, IS_MUSIC, IS_NOTIFICATION, IS_PODCAST, IS_RINGTONE, TITLE_KEY, TRACK, YEAR
DATA, DATE_ADDED, DATE_MODIFIED, DISPLAY_NAME, HEIGHT, IS_DRM, MEDIA_SCANNER_NEW_OBJECT_ID, MIME_TYPE, SIZE, TITLE, WIDTH
_COUNT, _ID
Constructor and Description |
---|
MediaStore.Audio.Media() |
Modifier and Type | Method and Description |
---|---|
static Uri |
getContentUri(String volumeName)
Get the content:// style URI for the audio media table on the
given volume.
|
static Uri |
getContentUriForPath(String path) |
public static final Uri INTERNAL_CONTENT_URI
public static final Uri EXTERNAL_CONTENT_URI
public static final String CONTENT_TYPE
public static final String DEFAULT_SORT_ORDER
public static final String RECORD_SOUND_ACTION
Input: nothing.
Output: An uri to the recorded sound stored in the Media Library if the recording was successful. May also contain the extra EXTRA_MAX_BYTES.
EXTRA_MAX_BYTES
,
Constant Field Valuespublic static final String EXTRA_MAX_BYTES
RECORD_SOUND_ACTION
,
Constant Field Values