Compartilhar via


SearchManager.GetSearchableInfo(ComponentName) Method

Definition

Gets information about a searchable activity.

[Android.Runtime.Register("getSearchableInfo", "(Landroid/content/ComponentName;)Landroid/app/SearchableInfo;", "GetGetSearchableInfo_Landroid_content_ComponentName_Handler")]
public virtual Android.App.SearchableInfo? GetSearchableInfo (Android.Content.ComponentName? componentName);
[<Android.Runtime.Register("getSearchableInfo", "(Landroid/content/ComponentName;)Landroid/app/SearchableInfo;", "GetGetSearchableInfo_Landroid_content_ComponentName_Handler")>]
abstract member GetSearchableInfo : Android.Content.ComponentName -> Android.App.SearchableInfo
override this.GetSearchableInfo : Android.Content.ComponentName -> Android.App.SearchableInfo

Parameters

componentName
ComponentName

The activity to get searchable information for.

Returns

Searchable information, or null if the activity does not exist, or is not searchable.

Attributes

Remarks

Gets information about a searchable activity.

Java documentation for android.app.SearchManager.getSearchableInfo(android.content.ComponentName).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to