Loading core/java/android/app/SearchManager.java +14 −5 Original line number Original line Diff line number Diff line Loading @@ -1183,6 +1183,13 @@ public class SearchManager */ */ public final static String SUGGEST_URI_PATH_QUERY = "search_suggest_query"; public final static String SUGGEST_URI_PATH_QUERY = "search_suggest_query"; /** * MIME type for suggestions data. You'll use this in your suggestions content provider * in the getType() function. */ public final static String SUGGEST_MIME_TYPE = "vnd.android.cursor.dir/vnd.android.search.suggest"; /** /** * Uri path for shortcut validation. This is the path that the search manager will use when * Uri path for shortcut validation. This is the path that the search manager will use when * querying your content provider to refresh a shortcutted suggestion result and to check if it * querying your content provider to refresh a shortcutted suggestion result and to check if it Loading @@ -1190,17 +1197,19 @@ public class SearchManager * result indicates the shortcut refers to a no longer valid sugggestion. * result indicates the shortcut refers to a no longer valid sugggestion. * * * @see #SUGGEST_COLUMN_SHORTCUT_ID * @see #SUGGEST_COLUMN_SHORTCUT_ID * @hide * * @hide pending API council approval */ */ public final static String SUGGEST_URI_PATH_SHORTCUT = "search_suggest_shortcut"; public final static String SUGGEST_URI_PATH_SHORTCUT = "search_suggest_shortcut"; /** /** * MIME type for suggestions data. You'll use this in your suggestions content provider * MIME type for shortcut validation. You'll use this in your suggestions content provider * in the getType() function. * in the getType() function. * * @hide pending API council approval */ */ public final static String SUGGEST_MIME_TYPE = public final static String SHORTCUT_MIME_TYPE = "vnd.android.cursor.dir/vnd.android.search.suggest"; "vnd.android.cursor.item/vnd.android.search.suggest"; /** /** * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i> * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i> */ */ Loading Loading
core/java/android/app/SearchManager.java +14 −5 Original line number Original line Diff line number Diff line Loading @@ -1183,6 +1183,13 @@ public class SearchManager */ */ public final static String SUGGEST_URI_PATH_QUERY = "search_suggest_query"; public final static String SUGGEST_URI_PATH_QUERY = "search_suggest_query"; /** * MIME type for suggestions data. You'll use this in your suggestions content provider * in the getType() function. */ public final static String SUGGEST_MIME_TYPE = "vnd.android.cursor.dir/vnd.android.search.suggest"; /** /** * Uri path for shortcut validation. This is the path that the search manager will use when * Uri path for shortcut validation. This is the path that the search manager will use when * querying your content provider to refresh a shortcutted suggestion result and to check if it * querying your content provider to refresh a shortcutted suggestion result and to check if it Loading @@ -1190,17 +1197,19 @@ public class SearchManager * result indicates the shortcut refers to a no longer valid sugggestion. * result indicates the shortcut refers to a no longer valid sugggestion. * * * @see #SUGGEST_COLUMN_SHORTCUT_ID * @see #SUGGEST_COLUMN_SHORTCUT_ID * @hide * * @hide pending API council approval */ */ public final static String SUGGEST_URI_PATH_SHORTCUT = "search_suggest_shortcut"; public final static String SUGGEST_URI_PATH_SHORTCUT = "search_suggest_shortcut"; /** /** * MIME type for suggestions data. You'll use this in your suggestions content provider * MIME type for shortcut validation. You'll use this in your suggestions content provider * in the getType() function. * in the getType() function. * * @hide pending API council approval */ */ public final static String SUGGEST_MIME_TYPE = public final static String SHORTCUT_MIME_TYPE = "vnd.android.cursor.dir/vnd.android.search.suggest"; "vnd.android.cursor.item/vnd.android.search.suggest"; /** /** * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i> * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i> */ */ Loading