SegmentFinder.PrescribedSegmentFinder Constructors

Definition

Overloads

SegmentFinder.PrescribedSegmentFinder(Int32[])

Create a SegmentFinder with segments stored in an array, where i-th segment's start is stored at segments[2 * i] and end is stored at segments[2 * i + 1] respectively.

SegmentFinder.PrescribedSegmentFinder(IntPtr, JniHandleOwnership)

SegmentFinder.PrescribedSegmentFinder(Int32[])

Create a SegmentFinder with segments stored in an array, where i-th segment's start is stored at segments[2 * i] and end is stored at segments[2 * i + 1] respectively.

[Android.Runtime.Register(".ctor", "([I)V", "", ApiSince=34)]
public PrescribedSegmentFinder (int[] segments);
[<Android.Runtime.Register(".ctor", "([I)V", "", ApiSince=34)>]
new Android.Text.SegmentFinder.PrescribedSegmentFinder : int[] -> Android.Text.SegmentFinder.PrescribedSegmentFinder

Parameters

segments
Int32[]

the array that stores the segment ranges.

Attributes

Remarks

Create a SegmentFinder with segments stored in an array, where i-th segment's start is stored at segments[2 * i] and end is stored at segments[2 * i + 1] respectively.

It is required that segments do not overlap, and are already sorted by their start indices.

Java documentation for android.text.SegmentFinder.PrescribedSegmentFinder.SegmentFinder$PrescribedSegmentFinder(int[]).

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

SegmentFinder.PrescribedSegmentFinder(IntPtr, JniHandleOwnership)

protected PrescribedSegmentFinder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.SegmentFinder.PrescribedSegmentFinder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.SegmentFinder.PrescribedSegmentFinder

Parameters

javaReference
IntPtr

nativeint

Applies to