SpellCheckerService.Session.OnGetSuggestions(TextInfo, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 which contains suggestions for textInfo
- Attributes
Remarks
Get suggestions for specified text in TextInfo. This function will run on the incoming IPC thread. So, this is not called on the main thread, but will be called in series on another thread.
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.