Freigeben über


BidiFormatter.GetInstance Method

Definition

Overloads

GetInstance(Locale)

Factory for creating an instance of BidiFormatter given the context locale.

GetInstance(Boolean)

Factory for creating an instance of BidiFormatter given the context directionality.

GetInstance(Locale)

Factory for creating an instance of BidiFormatter given the context locale.

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/text/BidiFormatter;", "")]
public static Android.Text.BidiFormatter? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/text/BidiFormatter;", "")>]
static member GetInstance : Java.Util.Locale -> Android.Text.BidiFormatter

Parameters

locale
Locale

The context locale.

Returns

Attributes

Remarks

Factory for creating an instance of BidiFormatter given the context locale.

This does not create any new objects, and returns already existing static instances.

Java documentation for android.text.BidiFormatter.getInstance(java.util.Locale).

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

GetInstance(Boolean)

Factory for creating an instance of BidiFormatter given the context directionality.

[Android.Runtime.Register("getInstance", "(Z)Landroid/text/BidiFormatter;", "")]
public static Android.Text.BidiFormatter? GetInstance (bool rtlContext);
[<Android.Runtime.Register("getInstance", "(Z)Landroid/text/BidiFormatter;", "")>]
static member GetInstance : bool -> Android.Text.BidiFormatter

Parameters

rtlContext
Boolean

Whether the context directionality is RTL.

Returns

Attributes

Remarks

Factory for creating an instance of BidiFormatter given the context directionality.

This does not create any new objects, and returns already existing static instances.

Java documentation for android.text.BidiFormatter.getInstance(boolean).

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