Android Guides | Samples

Android.App.SearchableInfo Class

Searchability meta-data for an activity.

See Also: SearchableInfo

Syntax

[Android.Runtime.Register("android/app/SearchableInfo", DoNotGenerateAcw=true)]
public sealed class SearchableInfo : Object, IParcelable, IDisposable

Remarks

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.

See Also

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8

The members of Android.App.SearchableInfo are listed below.

See Also: Object

Public Properties

[read-only]
static
CreatorIParcelableCreator. Support for parcelable and aidl operations.
[read-only]
HintIdInt32. Gets the resource id of the hint text.
[read-only]
ImeOptionsImeAction. Gets the input method options specified in the searchable attributes.
[read-only]
InputTypeInputTypes. Gets the input type as specified in the searchable attributes.
[read-only]
SearchActivityComponentName. Gets the component name of the searchable activity.
[read-only]
SettingsDescriptionIdInt32. Gets the resource id of the description string to use for this source in system search settings, or 0 if none has been specified.
[read-only]
SuggestAuthorityString. Gets the search suggestion content provider authority.
[read-only]
SuggestIntentActionString. Gets the optional intent action for use with these suggestions.
[read-only]
SuggestIntentDataString. Gets the optional intent data for use with these suggestions.
[read-only]
SuggestPackageString. Gets the name of the package where the suggestion provider lives, or null.
[read-only]
SuggestPathString. Gets the content provider path for obtaining search suggestions.
[read-only]
SuggestSelectionString. Gets the selection for obtaining search suggestions.
[read-only]
SuggestThresholdInt32. Gets the suggestion threshold.
[read-only]
VoiceLanguageIdInt32. Gets the resource id of the spoken language to recognize in voice search.
[read-only]
VoiceLanguageModeIdInt32. Gets the resource id of the voice search language model string.
[read-only]
VoiceMaxResultsInt32. The maximum number of voice recognition results to return.
[read-only]
VoicePromptTextIdInt32. Gets the resource id of the voice prompt text string.
[read-only]
VoiceSearchEnabledBoolean. Checks if the searchable activity wants the voice search button to be shown.
[read-only]
VoiceSearchLaunchRecognizerBoolean. Checks if voice search should start in-app search.
[read-only]
VoiceSearchLaunchWebSearchBoolean. Checks if voice search should start web search.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AutoUrlDetect() : Boolean
Checks whether this searchable activity has auto URL detection turned on.
DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
QueryAfterZeroResults() : Boolean
Checks whether this searchable activity should be queried for suggestions if a prefix of the query has returned no results.
ShouldIncludeInGlobalSearch() : Boolean
Checks whether the searchable should be included in global search.
ShouldRewriteQueryFromData() : Boolean
Checks whether the text in the query field should come from the suggestion intent data.
ShouldRewriteQueryFromText() : Boolean
Checks whether the text in the query field should come from the suggestion title.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.