Java android.app SearchManager fields, constructors, methods, implement or subclass

Example usage for Java android.app SearchManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app SearchManager.

The text is from its open source code.

Field

charMENU_KEY
This is a shortcut definition for the default menu key to use for invoking search.
StringQUERY
Intent extra data key: Use this key with android.content.Intent#getStringExtra content.Intent.getStringExtra() to obtain the query string from Intent.ACTION_SEARCH.
StringUSER_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.
StringAPP_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.
StringSEARCH_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.
StringACTION_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.
StringEXTRA_DATA_KEY
Intent extra data key: This key will be used for the extra populated by the #SUGGEST_COLUMN_INTENT_EXTRA_DATA column.
StringEXTRA_SELECT_QUERY
Boolean extra data key for #INTENT_ACTION_GLOBAL_SEARCH intents.
StringCURSOR_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.
StringACTION_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.
intFLAG_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.
StringSUGGEST_URI_PATH_QUERY
Uri path for queried suggestions data.
StringSUGGEST_MIME_TYPE
MIME type for suggestions data.
StringSUGGEST_COLUMN_TEXT_1
Column name for suggestions cursor.
StringSUGGEST_COLUMN_TEXT_2
Column name for suggestions cursor.
StringSUGGEST_COLUMN_TEXT_2_URL
Column name for suggestions cursor.
StringSUGGEST_COLUMN_ICON_1
Column name for suggestions cursor.
StringSUGGEST_COLUMN_ICON_2
Column name for suggestions cursor.
StringSUGGEST_COLUMN_INTENT_ACTION
Column name for suggestions cursor.
StringSUGGEST_COLUMN_INTENT_DATA
Column name for suggestions cursor.
StringSUGGEST_COLUMN_INTENT_EXTRA_DATA
Column name for suggestions cursor.
StringSUGGEST_COLUMN_INTENT_DATA_ID
Column name for suggestions cursor.
StringSUGGEST_COLUMN_QUERY
Column name for suggestions cursor.
StringSUGGEST_COLUMN_SHORTCUT_ID
Column name for suggestions cursor.
StringSUGGEST_COLUMN_FLAGS
Column name for suggestions cursor.
StringSUGGEST_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.
StringSUGGEST_PARAMETER_LIMIT
Query parameter added to suggestion queries to limit the number of suggestions returned.
StringINTENT_ACTION_GLOBAL_SEARCH
Intent action for starting the global search activity.

Constructor

Method

ComponentNamegetGlobalSearchActivity()
Gets the name of the global search activity.
SearchableInfogetSearchableInfo(ComponentName componentName)
Gets information about a searchable activity.
ListgetSearchablesInGlobalSearch()
Returns a list of the searchable activities that can be included in global search.
voidsetOnCancelListener(OnCancelListener listener)
Set or clear the callback that will be invoked whenever the search UI is canceled.
voidsetOnDismissListener(final OnDismissListener listener)
Set or clear the callback that will be invoked whenever the search UI is dismissed.
voidstopSearch()
Terminate search UI.