ULocale ULocale Class

Definition

[Android.Runtime.Register("android/icu/util/ULocale", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class ULocale : Java.Lang.Object, IDisposable, Java.IO.ISerializable, Java.Lang.IComparable
type ULocale = class
    inherit Object
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IComparable
Inheritance
ULocaleULocale
Attributes
Implements

Remarks

Android platform documentation

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.

Constructors

ULocale(String) ULocale(String)
ULocale(String, String) ULocale(String, String)
ULocale(String, String, String) ULocale(String, String, String)

Fields

PrivateUseExtension PrivateUseExtension
UnicodeLocaleExtension UnicodeLocaleExtension

Properties

BaseName BaseName
Canada Canada
CanadaFrench CanadaFrench
CharacterOrientation CharacterOrientation
China China
Chinese Chinese
Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Country Country
Default Default
DisplayCountry DisplayCountry
DisplayLanguage DisplayLanguage
DisplayLanguageWithDialect DisplayLanguageWithDialect
DisplayName DisplayName
DisplayNameWithDialect DisplayNameWithDialect
DisplayScript DisplayScript
DisplayVariant DisplayVariant
English English
ExtensionKeys ExtensionKeys
Fallback Fallback
France France
French French
German German
Germany Germany
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
ISO3Country ISO3Country
ISO3Language ISO3Language
IsRightToLeft IsRightToLeft
Italian Italian
Italy Italy
Japan Japan
Japanese Japanese
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
Keywords Keywords
Korea Korea
Korean Korean
Language Language
LineOrientation LineOrientation
Name Name
PeerReference PeerReference Inherited from Object
Prc Prc
Root Root
Script Script
SimplifiedChinese SimplifiedChinese
Taiwan Taiwan
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
TraditionalChinese TraditionalChinese
Uk Uk
UnicodeLocaleAttributes UnicodeLocaleAttributes
UnicodeLocaleKeys UnicodeLocaleKeys
Us Us
Variant Variant

Methods

AcceptLanguage(String, Boolean[]) AcceptLanguage(String, Boolean[])
AcceptLanguage(String, ULocale[], Boolean[]) AcceptLanguage(String, ULocale[], Boolean[])
AcceptLanguage(ULocale[], Boolean[]) AcceptLanguage(ULocale[], Boolean[])
AcceptLanguage(ULocale[], ULocale[], Boolean[]) AcceptLanguage(ULocale[], ULocale[], Boolean[])
AddLikelySubtags(ULocale) AddLikelySubtags(ULocale)
Canonicalize(String) Canonicalize(String)
Clone() Clone()
CompareTo(ULocale) CompareTo(ULocale)
CreateCanonical(String) CreateCanonical(String)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ForLanguageTag(String) ForLanguageTag(String)
ForLocale(Locale) ForLocale(Locale)
GetAvailableLocales() GetAvailableLocales()
GetBaseName(String) GetBaseName(String)
GetCountry(String) GetCountry(String)
GetDefault(ULocale+Category) GetDefault(ULocale+Category)
GetDisplayCountry(String, String) GetDisplayCountry(String, String)
GetDisplayCountry(String, ULocale) GetDisplayCountry(String, ULocale)
GetDisplayCountry(ULocale) GetDisplayCountry(ULocale)
GetDisplayKeyword(String) GetDisplayKeyword(String)
GetDisplayKeyword(String, String) GetDisplayKeyword(String, String)
GetDisplayKeyword(String, ULocale) GetDisplayKeyword(String, ULocale)
GetDisplayKeywordValue(String) GetDisplayKeywordValue(String)
GetDisplayKeywordValue(String, String, String) GetDisplayKeywordValue(String, String, String)
GetDisplayKeywordValue(String, String, ULocale) GetDisplayKeywordValue(String, String, ULocale)
GetDisplayKeywordValue(String, ULocale) GetDisplayKeywordValue(String, ULocale)
GetDisplayLanguage(String, String) GetDisplayLanguage(String, String)
GetDisplayLanguage(String, ULocale) GetDisplayLanguage(String, ULocale)
GetDisplayLanguage(ULocale) GetDisplayLanguage(ULocale)
GetDisplayLanguageWithDialect(String, String) GetDisplayLanguageWithDialect(String, String)
GetDisplayLanguageWithDialect(String, ULocale) GetDisplayLanguageWithDialect(String, ULocale)
GetDisplayLanguageWithDialect(ULocale) GetDisplayLanguageWithDialect(ULocale)
GetDisplayName(String, String) GetDisplayName(String, String)
GetDisplayName(String, ULocale) GetDisplayName(String, ULocale)
GetDisplayName(ULocale) GetDisplayName(ULocale)
GetDisplayNameWithDialect(String, String) GetDisplayNameWithDialect(String, String)
GetDisplayNameWithDialect(String, ULocale) GetDisplayNameWithDialect(String, ULocale)
GetDisplayNameWithDialect(ULocale) GetDisplayNameWithDialect(ULocale)
GetDisplayScript(String, String) GetDisplayScript(String, String)
GetDisplayScript(String, ULocale) GetDisplayScript(String, ULocale)
GetDisplayScript(ULocale) GetDisplayScript(ULocale)
GetDisplayVariant(String, String) GetDisplayVariant(String, String)
GetDisplayVariant(String, ULocale) GetDisplayVariant(String, ULocale)
GetDisplayVariant(ULocale) GetDisplayVariant(ULocale)
GetExtension(Char) GetExtension(Char)
GetFallback(String) GetFallback(String)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetISO3Country(String) GetISO3Country(String)
GetISO3Language(String) GetISO3Language(String)
GetISOCountries() GetISOCountries()
GetISOLanguages() GetISOLanguages()
GetKeywords(String) GetKeywords(String)
GetKeywordValue(String) GetKeywordValue(String)
GetKeywordValue(String, String) GetKeywordValue(String, String)
GetLanguage(String) GetLanguage(String)
GetName(String) GetName(String)
GetScript(String) GetScript(String)
GetUnicodeLocaleType(String) GetUnicodeLocaleType(String)
GetVariant(String) GetVariant(String)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
MinimizeSubtags(ULocale) MinimizeSubtags(ULocale)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetKeywordValue(String, String) SetKeywordValue(String, String)
SetKeywordValue(String, String, String) SetKeywordValue(String, String, String)
ToArray<T>() ToArray<T>() Inherited from Object
ToLanguageTag() ToLanguageTag()
ToLegacyKey(String) ToLegacyKey(String)
ToLegacyType(String, String) ToLegacyType(String, String)
ToLocale() ToLocale()
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
ToUnicodeLocaleKey(String) ToUnicodeLocaleKey(String)
ToUnicodeLocaleType(String, String) ToUnicodeLocaleType(String, String)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IComparable.CompareTo(Object) IComparable.CompareTo(Object)
IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to