Language

UnicodeSetSpanner Constructors

Definition

Overloads

Name Description
UnicodeSetSpanner(UnicodeSet)

Create a spanner from a UnicodeSet.

UnicodeSetSpanner(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

UnicodeSetSpanner(UnicodeSet)

Create a spanner from a UnicodeSet.

[Android.Runtime.Register(".ctor", "(Landroid/icu/text/UnicodeSet;)V", "", ApiSince=24)]
public UnicodeSetSpanner(Android.Icu.Text.UnicodeSet? source);
[<Android.Runtime.Register(".ctor", "(Landroid/icu/text/UnicodeSet;)V", "", ApiSince=24)>]
new Android.Icu.Text.UnicodeSetSpanner : Android.Icu.Text.UnicodeSet -> Android.Icu.Text.UnicodeSetSpanner

Parameters

source
UnicodeSet

the original UnicodeSet

Attributes

Remarks

Create a spanner from a UnicodeSet. For speed and safety, the UnicodeSet should be frozen. However, this class can be used with a non-frozen version to avoid the cost of freezing.

Java documentation for android.icu.text.UnicodeSetSpanner.UnicodeSetSpanner(android.icu.text.UnicodeSet).

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

UnicodeSetSpanner(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

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

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

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