java.lang.Object | |
↳ | android.app.SearchableInfo |
Searchability meta-data for an activity. Only applications that search other applications should need to use this class. See Searchable Configuration for more information about declaring searchability meta-data for your application.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creator<SearchableInfo> | CREATOR | Support for parcelable and aidl operations. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether this searchable activity has auto URL detection turned on.
| |||||||||||
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Gets the resource id of the hint text.
| |||||||||||
Gets the input method options specified in the searchable attributes.
| |||||||||||
Gets the input type as specified in the searchable attributes.
| |||||||||||
Gets the component name of the searchable activity.
| |||||||||||
Gets the resource id of the description string to use for this source in system search
settings, or
0 if none has been specified. | |||||||||||
Gets the search suggestion content provider authority.
| |||||||||||
Gets the optional intent action for use with these suggestions.
| |||||||||||
Gets the optional intent data for use with these suggestions.
| |||||||||||
Gets the name of the package where the suggestion provider lives,
or
null . | |||||||||||
Gets the content provider path for obtaining search suggestions.
| |||||||||||
Gets the selection for obtaining search suggestions.
| |||||||||||
Gets the suggestion threshold.
| |||||||||||
Gets the resource id of the spoken language to recognize in voice search.
| |||||||||||
Gets the resource id of the voice search language model string.
| |||||||||||
The maximum number of voice recognition results to return.
| |||||||||||
Gets the resource id of the voice prompt text string.
| |||||||||||
Checks if the searchable activity wants the voice search button to be shown.
| |||||||||||
Checks if voice search should start in-app search.
| |||||||||||
Checks if voice search should start web search.
| |||||||||||
Checks whether this searchable activity should be queried for suggestions if a prefix
of the query has returned no results.
| |||||||||||
Checks whether the searchable should be included in global search.
| |||||||||||
Checks whether the text in the query field should come from the suggestion intent data.
| |||||||||||
Checks whether the text in the query field should come from the suggestion title.
| |||||||||||
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
From interface android.os.Parcelable
|
Support for parcelable and aidl operations.
Checks whether this searchable activity has auto URL detection turned on.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Gets the resource id of the hint text. This must be read using the searchable Activity's resources.
0
if no hint was specified.Gets the input method options specified in the searchable attributes.
This will default to IME_ACTION_GO
if not specified (which is
appropriate for a search box).
Gets the input type as specified in the searchable attributes. This will default to
TYPE_CLASS_TEXT
if not specified (which is appropriate
for free text input).
Gets the component name of the searchable activity.
null
.
Gets the resource id of the description string to use for this source in system search
settings, or 0
if none has been specified.
Gets the search suggestion content provider authority.
null
if not set.Gets the optional intent action for use with these suggestions. This is
useful if all intents will have the same action
(e.g. ACTION_VIEW
)
This can be overriden in any given suggestion using the column
SUGGEST_COLUMN_INTENT_ACTION
.
null
if not set.Gets the optional intent data for use with these suggestions. This is
useful if all intents will have similar data URIs,
but you'll likely need to provide a specific ID as well via the column
SUGGEST_COLUMN_INTENT_DATA_ID
, which will be appended to the
intent data URI.
This can be overriden in any given suggestion using the column
SUGGEST_COLUMN_INTENT_DATA
.
null
if not set.Gets the name of the package where the suggestion provider lives,
or null
.
Gets the content provider path for obtaining search suggestions.
null
if not set.Gets the selection for obtaining search suggestions.
Gets the suggestion threshold.
0
if not set.Gets the resource id of the spoken language to recognize in voice search.
0
if no language was specified.Gets the resource id of the voice search language model string.
0
if no language model was specified.The maximum number of voice recognition results to return.
0
if not specified.Gets the resource id of the voice prompt text string.
0
if no voice prompt text was specified.Checks if the searchable activity wants the voice search button to be shown.
Checks if voice search should start in-app search.
Checks if voice search should start web search.
Checks whether this searchable activity should be queried for suggestions if a prefix of the query has returned no results.
Checks whether the searchable should be included in global search.
Searchable_includeInGlobalSearch
attribute, or false
if the attribute is not set.Checks whether the text in the query field should come from the suggestion intent data.
Checks whether the text in the query field should come from the suggestion title.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags | Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE .
|