Language

CorrectionInfo Constructors

Definition

Overloads

Name Description
CorrectionInfo(Int32, ICharSequence, ICharSequence)

Records a correction at the specified text offset.

CorrectionInfo(Int32, String, String)

Records a correction using the specified original and replacement strings.

CorrectionInfo(Int32, ICharSequence, ICharSequence)

Records a correction at the specified text offset.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CorrectionInfo(int offset, Java.Lang.ICharSequence? oldText, Java.Lang.ICharSequence? newText);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CorrectionInfo : int * Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.Views.InputMethods.CorrectionInfo

Parameters

offset
Int32

The offset in the edited text where the old and new text start.

oldText
ICharSequence

The old text that has been replaced.

newText
ICharSequence

The replacement text.

Attributes

Remarks

Java documentation for android.view.inputmethod.CorrectionInfo.CorrectionInfo(int, java.lang.CharSequence, java.lang.CharSequence).

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

CorrectionInfo(Int32, String, String)

Records a correction using the specified original and replacement strings.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CorrectionInfo(int offset, string? oldText, string? newText);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")>]
new Android.Views.InputMethods.CorrectionInfo : int * string * string -> Android.Views.InputMethods.CorrectionInfo

Parameters

offset
Int32

The offset in the edited text where the old and new text start.

oldText
String

The old text that has been replaced.

newText
String

The replacement text.

Attributes

Remarks

Android reference for android.view.inputmethod.CorrectionInfo.CorrectionInfo.

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