TextSelection.Request.Builder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TextSelection.Request.Builder(ICharSequence, Int32, Int32) | |
| TextSelection.Request.Builder(String, Int32, Int32) |
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.