SpellCheckerSession.GetSuggestions Method

Definition

Overloads

GetSuggestions(TextInfo, Int32)
Obsolete.

Get candidate strings for a substring of the specified text.

GetSuggestions(TextInfo[], Int32, Boolean)
Obsolete.

A batch process of getSuggestions

GetSuggestions(TextInfo, Int32)

Caution

deprecated

Get candidate strings for a substring of the specified text.

[Android.Runtime.Register("getSuggestions", "(Landroid/view/textservice/TextInfo;I)V", "GetGetSuggestions_Landroid_view_textservice_TextInfo_IHandler")]
[System.Obsolete("deprecated")]
public virtual void GetSuggestions (Android.Views.TextService.TextInfo? textInfo, int suggestionsLimit);
[<Android.Runtime.Register("getSuggestions", "(Landroid/view/textservice/TextInfo;I)V", "GetGetSuggestions_Landroid_view_textservice_TextInfo_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetSuggestions : Android.Views.TextService.TextInfo * int -> unit
override this.GetSuggestions : Android.Views.TextService.TextInfo * int -> unit

Parameters

textInfo
TextInfo

text metadata for a spell checker

suggestionsLimit
Int32

the maximum number of suggestions that will be returned

Attributes

Remarks

Get candidate strings for a substring of the specified text.

This member is deprecated. use SpellCheckerSession#getSentenceSuggestions(TextInfo[], int) instead

Java documentation for android.view.textservice.SpellCheckerSession.getSuggestions(android.view.textservice.TextInfo, int).

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

GetSuggestions(TextInfo[], Int32, Boolean)

Caution

deprecated

A batch process of getSuggestions

[Android.Runtime.Register("getSuggestions", "([Landroid/view/textservice/TextInfo;IZ)V", "GetGetSuggestions_arrayLandroid_view_textservice_TextInfo_IZHandler")]
[System.Obsolete("deprecated")]
public virtual void GetSuggestions (Android.Views.TextService.TextInfo[]? textInfos, int suggestionsLimit, bool sequentialWords);
[<Android.Runtime.Register("getSuggestions", "([Landroid/view/textservice/TextInfo;IZ)V", "GetGetSuggestions_arrayLandroid_view_textservice_TextInfo_IZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetSuggestions : Android.Views.TextService.TextInfo[] * int * bool -> unit
override this.GetSuggestions : Android.Views.TextService.TextInfo[] * int * bool -> unit

Parameters

textInfos
TextInfo[]

an array of text metadata for a spell checker

suggestionsLimit
Int32

the maximum number of suggestions that will be returned

sequentialWords
Boolean

true if textInfos can be treated as sequential words.

Attributes

Remarks

A batch process of getSuggestions

This member is deprecated. use SpellCheckerSession#getSentenceSuggestions(TextInfo[], int) instead

Java documentation for android.view.textservice.SpellCheckerSession.getSuggestions(android.view.textservice.TextInfo[], int, boolean).

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