Android.Content.SearchRecentSuggestionsProvider.SetupSuggestions Method
In order to use this class, you must extend it, and call this setup function from your constructor.

Syntax

[Android.Runtime.Register("setupSuggestions", "(Ljava/lang/String;I)V", "GetSetupSuggestions_Ljava_lang_String_IHandler")]
protected virtual void SetupSuggestions (string authority, [Android.Runtime.GeneratedEnum] DatabaseMode mode)

Parameters

authority
This must match the authority that you've declared in your manifest.
mode
You can use mode flags here to determine certain functional aspects of your database. Note, this value should not change from run to run, because when it does change, your suggestions database may be wiped.

Remarks

In order to use this class, you must extend it, and call this setup function from your constructor. In your application or activities, you must provide the same values when you create the Android.Provider.SearchRecentSuggestions helper.

[Android Documentation]

Requirements

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