Udostępnij za pośrednictwem


SearchableInfo.SuggestIntentData Property

Definition

Gets the optional intent data for use with these suggestions.

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

Property Value

The default intent data, or null if not set.

Attributes

Remarks

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 SearchManager#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 SearchManager#SUGGEST_COLUMN_INTENT_DATA.

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

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