Example usage for Java android.app SearchManager fields, constructors, methods, implement or subclass
The text is from its open source code.
char | MENU_KEY This is a shortcut definition for the default menu key to use for invoking search. |
String | QUERY Intent extra data key: Use this key with android.content.Intent#getStringExtra content.Intent.getStringExtra() to obtain the query string from Intent.ACTION_SEARCH. |
String | USER_QUERY Intent extra data key: Use this key with android.content.Intent#getStringExtra content.Intent.getStringExtra() to obtain the query string typed in by the user. |
String | APP_DATA Intent extra data key: Use this key with Intent.ACTION_SEARCH and android.content.Intent#getBundleExtra content.Intent.getBundleExtra() to obtain any additional app-specific data that was inserted by the activity that launched the search. |
String | SEARCH_MODE Intent extra data key: Use android.content.Intent#getBundleExtra content.Intent.getBundleExtra(SEARCH_MODE) to get the search mode used to launch the intent. |
String | ACTION_KEY Intent extra data key: Use this key with Intent.ACTION_SEARCH and android.content.Intent#getIntExtra content.Intent.getIntExtra() to obtain the keycode that the user used to trigger this query. |
String | EXTRA_DATA_KEY Intent extra data key: This key will be used for the extra populated by the #SUGGEST_COLUMN_INTENT_EXTRA_DATA column. |
String | EXTRA_SELECT_QUERY Boolean extra data key for #INTENT_ACTION_GLOBAL_SEARCH intents. |
String | CURSOR_EXTRA_KEY_IN_PROGRESS Boolean extra data key for a suggestion provider to return in Cursor#getExtras to indicate that the search is not complete yet. |
String | ACTION_MSG Intent extra data key: Use this key with Intent.ACTION_SEARCH and android.content.Intent#getStringExtra content.Intent.getStringExtra() to obtain the action message that was defined for a particular search action key and/or suggestion. |
int | FLAG_QUERY_REFINEMENT Flag to specify that the entry can be used for query refinement, i.e., the query text in the search field can be replaced with the text in this entry, when a query refinement icon is clicked. |
String | SUGGEST_URI_PATH_QUERY Uri path for queried suggestions data. |
String | SUGGEST_MIME_TYPE MIME type for suggestions data. |
String | SUGGEST_COLUMN_TEXT_1 Column name for suggestions cursor. |
String | SUGGEST_COLUMN_TEXT_2 Column name for suggestions cursor. |
String | SUGGEST_COLUMN_TEXT_2_URL Column name for suggestions cursor. |
String | SUGGEST_COLUMN_ICON_1 Column name for suggestions cursor. |
String | SUGGEST_COLUMN_ICON_2 Column name for suggestions cursor. |
String | SUGGEST_COLUMN_INTENT_ACTION Column name for suggestions cursor. |
String | SUGGEST_COLUMN_INTENT_DATA Column name for suggestions cursor. |
String | SUGGEST_COLUMN_INTENT_EXTRA_DATA Column name for suggestions cursor. |
String | SUGGEST_COLUMN_INTENT_DATA_ID Column name for suggestions cursor. |
String | SUGGEST_COLUMN_QUERY Column name for suggestions cursor. |
String | SUGGEST_COLUMN_SHORTCUT_ID Column name for suggestions cursor. |
String | SUGGEST_COLUMN_FLAGS Column name for suggestions cursor. |
String | SUGGEST_NEVER_MAKE_SHORTCUT Column value for suggestion column #SUGGEST_COLUMN_SHORTCUT_ID when a suggestion should not be stored as a shortcut in global search. |
String | SUGGEST_PARAMETER_LIMIT Query parameter added to suggestion queries to limit the number of suggestions returned. |
String | INTENT_ACTION_GLOBAL_SEARCH Intent action for starting the global search activity. |
ComponentName | getGlobalSearchActivity() Gets the name of the global search activity. |
SearchableInfo | getSearchableInfo(ComponentName componentName) Gets information about a searchable activity. |
List | getSearchablesInGlobalSearch() Returns a list of the searchable activities that can be included in global search. |
void | setOnCancelListener(OnCancelListener listener) Set or clear the callback that will be invoked whenever the search UI is canceled. |
void | setOnDismissListener(final OnDismissListener listener) Set or clear the callback that will be invoked whenever the search UI is dismissed. |
void | stopSearch() Terminate search UI. |