Läs på engelska

Dela via


CorrectionInfo Constructors

Definition

Overloads

CorrectionInfo(Int32, ICharSequence, ICharSequence)

C#
[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CorrectionInfo(int offset, Java.Lang.ICharSequence? oldText, Java.Lang.ICharSequence? newText);

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

.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35

CorrectionInfo(Int32, String, String)

C#
[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;Ljava/lang/CharSequence;)V", "")]
public CorrectionInfo(int offset, string? oldText, string? newText);

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

.NET for Android .NET for Android API 35 och .NET for Android .NET for Android API 34
Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35