Language

AutoText.Get Method

Definition

Overloads

Name Description
Get(ICharSequence, Int32, Int32, View)

Retrieves a possible spelling correction for the specified range of text.

Get(String, Int32, Int32, View)

Retrieves a possible spelling correction for the specified range of text.

Get(ICharSequence, Int32, Int32, View)

Retrieves a possible spelling correction for the specified range of text.

[Android.Runtime.Register("get", "(Ljava/lang/CharSequence;IILandroid/view/View;)Ljava/lang/String;", "")]
public static string? Get(Java.Lang.ICharSequence? src, int start, int end, Android.Views.View? view);
[<Android.Runtime.Register("get", "(Ljava/lang/CharSequence;IILandroid/view/View;)Ljava/lang/String;", "")>]
static member Get : Java.Lang.ICharSequence * int * int * Android.Views.View -> string

Parameters

src
ICharSequence

The text that contains the word to look up.

start
Int32

The first character index to include in the lookup.

end
Int32

The character index at which to stop, excluding that character.

view
View

The view whose resources and locale select the correction dictionary.

Returns

The correction found for the specified text range, or null if the dictionary has no match.

Attributes

Remarks

Retrieves a possible spelling correction for the specified range of text. Returns null if no correction can be found. The View is used to get the current Locale and Resources.

Java documentation for android.text.AutoText.get(java.lang.CharSequence, int, int, android.view.View).

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

Get(String, Int32, Int32, View)

Retrieves a possible spelling correction for the specified range of text.

public static string? Get(string? src, int start, int end, Android.Views.View? view);
static member Get : string * int * int * Android.Views.View -> string

Parameters

src
String

The text that contains the word to look up.

start
Int32

The first character index to include in the lookup.

end
Int32

The character index at which to stop, excluding that character.

view
View

The view whose resources and locale select the correction dictionary.

Returns

The correction found for the specified text range, or null if the dictionary has no match.

Remarks

Retrieves a possible spelling correction for the specified range of text. Returns null if no correction can be found. The View is used to get the current Locale and Resources.

Java documentation for android.text.AutoText.get(java.lang.CharSequence, int, int, android.view.View).

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