Language

Transliterator.Position Constructors

Definition

Overloads

Name Description
Transliterator.Position()

Constructs a Position object with start, limit, contextStart, and contextLimit all equal to zero.

Transliterator.Position(Transliterator+Position)

Constructs a Position object that is a copy of another.

Transliterator.Position(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

Transliterator.Position(Int32, Int32, Int32)

Constructs a Position object with the given start, contextStart, and contextLimit.

Transliterator.Position(Int32, Int32, Int32, Int32)

Constructs a Position object with the given start, limit, contextStart, and contextLimit.

Transliterator.Position()

Constructs a Position object with start, limit, contextStart, and contextLimit all equal to zero.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=29)]
public Position();
Attributes

Remarks

Constructs a Position object with start, limit, contextStart, and contextLimit all equal to zero.

Java documentation for android.icu.text.Transliterator.Position.Transliterator$Position().

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

Transliterator.Position(Transliterator+Position)

Constructs a Position object that is a copy of another.

[Android.Runtime.Register(".ctor", "(Landroid/icu/text/Transliterator$Position;)V", "", ApiSince=29)]
public Position(Android.Icu.Text.Transliterator.Position? pos);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/text/Transliterator$Position;)V", "", ApiSince=29)>]
new Android.Icu.Text.Transliterator.Position : Android.Icu.Text.Transliterator.Position -> Android.Icu.Text.Transliterator.Position

Parameters

pos
Transliterator.Position

The position whose context and transliteration bounds are copied.

Attributes

Remarks

Constructs a Position object that is a copy of another.

Android reference for android.icu.text.Transliterator.Position.Position.

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

Transliterator.Position(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected Position(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Icu.Text.Transliterator.Position : nativeint * Android.Runtime.JniHandleOwnership -> Android.Icu.Text.Transliterator.Position

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

Transliterator.Position(Int32, Int32, Int32)

Constructs a Position object with the given start, contextStart, and contextLimit.

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=29)]
public Position(int contextStart, int contextLimit, int start);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=29)>]
new Android.Icu.Text.Transliterator.Position : int * int * int -> Android.Icu.Text.Transliterator.Position

Parameters

contextStart
Int32

The inclusive start index of the available context.

contextLimit
Int32

The exclusive end index of both the available context and the text to transliterate.

start
Int32

The inclusive start index of the text to transliterate.

Attributes

Remarks

Constructs a Position object with the given start, contextStart, and contextLimit. The limit is set to the contextLimit.

Java documentation for android.icu.text.Transliterator.Position.Transliterator$Position(int, int, 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

Transliterator.Position(Int32, Int32, Int32, Int32)

Constructs a Position object with the given start, limit, contextStart, and contextLimit.

[Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=29)]
public Position(int contextStart, int contextLimit, int start, int limit);
[<Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=29)>]
new Android.Icu.Text.Transliterator.Position : int * int * int * int -> Android.Icu.Text.Transliterator.Position

Parameters

contextStart
Int32

The inclusive start index of the available context.

contextLimit
Int32

The exclusive end index of the available context.

start
Int32

The inclusive start index of the text to transliterate.

limit
Int32

The exclusive end index of the text to transliterate.

Attributes

Remarks

Constructs a Position object with the given start, limit, contextStart, and contextLimit.

Java documentation for android.icu.text.Transliterator.Position.Transliterator$Position(int, int, int, 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