SpellCheckerService.Session.OnGetSuggestions(TextInfo, Int32) Method

Definition

Get suggestions for specified text in TextInfo.

[Android.Runtime.Register("onGetSuggestions", "(Landroid/view/textservice/TextInfo;I)Landroid/view/textservice/SuggestionsInfo;", "GetOnGetSuggestions_Landroid_view_textservice_TextInfo_IHandler")]
public abstract Android.Views.TextService.SuggestionsInfo? OnGetSuggestions (Android.Views.TextService.TextInfo? textInfo, int suggestionsLimit);
[<Android.Runtime.Register("onGetSuggestions", "(Landroid/view/textservice/TextInfo;I)Landroid/view/textservice/SuggestionsInfo;", "GetOnGetSuggestions_Landroid_view_textservice_TextInfo_IHandler")>]
abstract member OnGetSuggestions : Android.Views.TextService.TextInfo * int -> Android.Views.TextService.SuggestionsInfo

Parameters

textInfo
TextInfo

the text metadata

suggestionsLimit
Int32

the maximum number of suggestions to be returned

Returns

SuggestionsInfo
Attributes

Remarks

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