am 59270bff: Merge "Add more MediaStore constants for playback intents"
* commit '59270bffe51de6c9c1ba9e88a6fd5215b717b25c': Add more MediaStore constants for playback intents
This commit is contained in:
@@ -6119,6 +6119,7 @@ package android.content {
|
||||
method public final void unregisterContentObserver(android.database.ContentObserver);
|
||||
method public final int update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]);
|
||||
method public static void validateSyncExtrasBundle(android.os.Bundle);
|
||||
field public static final java.lang.String ANY_CURSOR_ITEM_TYPE = "vnd.android.cursor.item/*";
|
||||
field public static final java.lang.String CURSOR_DIR_BASE_TYPE = "vnd.android.cursor.dir";
|
||||
field public static final java.lang.String CURSOR_ITEM_BASE_TYPE = "vnd.android.cursor.item";
|
||||
field public static final java.lang.String SCHEME_ANDROID_RESOURCE = "android.resource";
|
||||
@@ -21643,6 +21644,8 @@ package android.provider {
|
||||
field public static final java.lang.String EXTRA_MEDIA_ALBUM = "android.intent.extra.album";
|
||||
field public static final java.lang.String EXTRA_MEDIA_ARTIST = "android.intent.extra.artist";
|
||||
field public static final java.lang.String EXTRA_MEDIA_FOCUS = "android.intent.extra.focus";
|
||||
field public static final java.lang.String EXTRA_MEDIA_GENRE = "android.intent.extra.genre";
|
||||
field public static final java.lang.String EXTRA_MEDIA_RADIO_CHANNEL = "android.intent.extra.radio_channel";
|
||||
field public static final java.lang.String EXTRA_MEDIA_TITLE = "android.intent.extra.title";
|
||||
field public static final java.lang.String EXTRA_OUTPUT = "output";
|
||||
field public static final java.lang.String EXTRA_SCREEN_ORIENTATION = "android.intent.extra.screenOrientation";
|
||||
@@ -21761,6 +21764,7 @@ package android.provider {
|
||||
method public static android.net.Uri getContentUriForPath(java.lang.String);
|
||||
field public static final java.lang.String CONTENT_TYPE = "vnd.android.cursor.dir/audio";
|
||||
field public static final java.lang.String DEFAULT_SORT_ORDER = "title_key";
|
||||
field public static final java.lang.String ENTRY_CONTENT_TYPE = "vnd.android.cursor.item/audio";
|
||||
field public static final android.net.Uri EXTERNAL_CONTENT_URI;
|
||||
field public static final java.lang.String EXTRA_MAX_BYTES = "android.provider.MediaStore.extra.MAX_BYTES";
|
||||
field public static final android.net.Uri INTERNAL_CONTENT_URI;
|
||||
@@ -21796,6 +21800,11 @@ package android.provider {
|
||||
field public static final java.lang.String NAME = "name";
|
||||
}
|
||||
|
||||
public static final class MediaStore.Audio.Radio {
|
||||
ctor public MediaStore.Audio.Radio();
|
||||
field public static final java.lang.String ENTRY_CONTENT_TYPE = "vnd.android.cursor.item/radio";
|
||||
}
|
||||
|
||||
public static final class MediaStore.Files {
|
||||
ctor public MediaStore.Files();
|
||||
method public static android.net.Uri getContentUri(java.lang.String);
|
||||
|
||||
@@ -192,6 +192,14 @@ public abstract class ContentResolver {
|
||||
*/
|
||||
public static final String CURSOR_DIR_BASE_TYPE = "vnd.android.cursor.dir";
|
||||
|
||||
/**
|
||||
* This is the Android platform's generic MIME type to match any MIME
|
||||
* type of the form "{@link #CURSOR_ITEM_BASE_TYPE}/{@code SUB_TYPE}".
|
||||
* {@code SUB_TYPE} is the sub-type of the application-dependent
|
||||
* content, e.g., "audio", "video", "playlist".
|
||||
*/
|
||||
public static final String ANY_CURSOR_ITEM_TYPE = "vnd.android.cursor.item/*";
|
||||
|
||||
/** @hide */
|
||||
public static final int SYNC_ERROR_SYNC_ALREADY_IN_PROGRESS = 1;
|
||||
/** @hide */
|
||||
|
||||
@@ -168,6 +168,14 @@ public final class MediaStore {
|
||||
* The name of the Intent-extra used to define the song title
|
||||
*/
|
||||
public static final String EXTRA_MEDIA_TITLE = "android.intent.extra.title";
|
||||
/**
|
||||
* The name of the Intent-extra used to define the genre.
|
||||
*/
|
||||
public static final String EXTRA_MEDIA_GENRE = "android.intent.extra.genre";
|
||||
/**
|
||||
* The name of the Intent-extra used to define the radio channel.
|
||||
*/
|
||||
public static final String EXTRA_MEDIA_RADIO_CHANNEL = "android.intent.extra.radio_channel";
|
||||
/**
|
||||
* The name of the Intent-extra used to define the search focus. The search focus
|
||||
* indicates whether the search should be for things related to the artist, album
|
||||
@@ -1388,6 +1396,11 @@ public final class MediaStore {
|
||||
*/
|
||||
public static final String CONTENT_TYPE = "vnd.android.cursor.dir/audio";
|
||||
|
||||
/**
|
||||
* The MIME type for an audio track.
|
||||
*/
|
||||
public static final String ENTRY_CONTENT_TYPE = "vnd.android.cursor.item/audio";
|
||||
|
||||
/**
|
||||
* The default sort order for this table
|
||||
*/
|
||||
@@ -1859,6 +1872,13 @@ public final class MediaStore {
|
||||
*/
|
||||
public static final String DEFAULT_SORT_ORDER = ALBUM_KEY;
|
||||
}
|
||||
|
||||
public static final class Radio {
|
||||
/**
|
||||
* The MIME type for entries in this table.
|
||||
*/
|
||||
public static final String ENTRY_CONTENT_TYPE = "vnd.android.cursor.item/radio";
|
||||
}
|
||||
}
|
||||
|
||||
public static final class Video {
|
||||
|
||||
Reference in New Issue
Block a user