public class

SearchIntents

extends Object
java.lang.Object
   ↳ com.google.android.gms.actions.SearchIntents

Class Overview

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

Summary

Constants
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.
[Expand]
Inherited Methods
From class java.lang.Object

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"