Lingua

TextSelection.Request.Builder Constructors

Definition

Overloads

TextSelection.Request.Builder(ICharSequence, Int32, Int32)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)]
public Builder(Java.Lang.ICharSequence text, int startIndex, int endIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextSelection.Request.Builder : Java.Lang.ICharSequence * int * int -> Android.Views.TextClassifiers.TextSelection.Request.Builder

Parameters

text
ICharSequence

text providing context for the selected text (which is specified by the sub sequence starting at startIndex and ending at endIndex). This value cannot be null.

startIndex
Int32

start index of the selected part of text. Value is 0 or greater

endIndex
Int32

end index of the selected part of text. Value is 0 or greater

Attributes

Remarks

Android reference for android.view.textclassifier.TextSelection.Request.Builder.Builder.

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

TextSelection.Request.Builder(String, Int32, Int32)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)]
public Builder(string text, int startIndex, int endIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextSelection.Request.Builder : string * int * int -> Android.Views.TextClassifiers.TextSelection.Request.Builder

Parameters

text
String

text providing context for the selected text (which is specified by the sub sequence starting at startIndex and ending at endIndex). This value cannot be null.

startIndex
Int32

start index of the selected part of text. Value is 0 or greater

endIndex
Int32

end index of the selected part of text. Value is 0 or greater

Attributes

Remarks

Android reference for android.view.textclassifier.TextSelection.Request.Builder.Builder.

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