Sdílet prostřednictvím


SearchableInfo.SuggestIntentAction Property

Definition

Gets the optional intent action for use with these suggestions.

public string? SuggestIntentAction { [Android.Runtime.Register("getSuggestIntentAction", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getSuggestIntentAction", "()Ljava/lang/String;", "")>]
member this.SuggestIntentAction : string

Property Value

The default intent action, or null if not set.

Attributes

Remarks

Gets the optional intent action for use with these suggestions. This is useful if all intents will have the same action (e.g. android.content.Intent#ACTION_VIEW)

This can be overriden in any given suggestion using the column SearchManager#SUGGEST_COLUMN_INTENT_ACTION.

Java documentation for android.app.SearchableInfo.getSuggestIntentAction().

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