SearchIntents

public class SearchIntents extends Object

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 for ACTION_SEARCH.

Inherited Method Summary

Constants

public static final String ACTION_SEARCH

Intent action for performing an in-app search. The intent should include an optional extra to specify the text to search for EXTRA_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 final String EXTRA_QUERY

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

Constant Value: "query"