次の方法で共有


CorrectionInfo Constructors

Definition

Overloads

CorrectionInfo(Int32, ICharSequence, ICharSequence)
CorrectionInfo(Int32, String, String)

CorrectionInfo(Int32, ICharSequence, ICharSequence)

[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)

[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
oldText
String
newText
String
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