SearchIntents

public classSearchIntentsextendsObject

Constants for intents to perform in-app search from a Search Action.

Constant Summary

String ACTION_SEARCH Intent action for performing an in-app search.
String EXTRA_QUERY Intent extra specifying the text query to use as a string forACTION_SEARCH.

Inherited Method Summary

Constants

Intent action for performing an in-app search. The intent should include an optional extra to specify the text to search forEXTRA_QUERY. If no extras are provided, the application should just show an Activity with the search UI activated.

Constant Value: "com.google.android.gms.actions.SEARCH_ACTION"

public static finalString EXTRA_QUERY

Intent extra specifying the text query to use as a string forACTION_SEARCH.

Constant Value:"query"