Language

Locale.GetDefault(Locale+Category) Method

Definition

Gets the current default locale for the specified category.

[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

the specified category to get the default locale

Returns

The default locale for the specified category.

Attributes

Remarks

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

Java reference 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