Compartilhar via


Locale.GetDefault(Locale+Category) Method

Definition

Gets the current value of the default locale for this instance of the Java Virtual Machine.

[Android.Runtime.Register("getDefault", "(Ljava/util/Locale$Category;)Ljava/util/Locale;", "", ApiSince=24)]
public static Java.Util.Locale GetDefault (Java.Util.Locale.Category category);
[<Android.Runtime.Register("getDefault", "(Ljava/util/Locale$Category;)Ljava/util/Locale;", "", ApiSince=24)>]
static member GetDefault : Java.Util.Locale.Category -> Java.Util.Locale

Parameters

category
Locale.Category

Returns

the default locale for this instance of the Java Virtual Machine

Attributes

Remarks

Java documentation for java.util.Locale.getDefault().

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