Class LocaleList
public class LocaleList : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
- Inheritance
-
LocaleList
- Implements
- Inherited Members
- Extension Methods
Constructors
LocaleList(params Locale[])
public LocaleList(params Locale[] arg0)
Parameters
LocaleList(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public LocaleList(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
CreatePoolableInstance(params Locale[])
HPA initializer for LocaleList(params Java.Util.Locale[] arg0)
public static LocaleList CreatePoolableInstance(params Locale[] arg0)
Parameters
arg0Locale[]
Returns
DescribeContents()
public int DescribeContents()
Returns
ForLanguageTags(String)
https://developer.android.com/reference/android/os/LocaleList.html#forLanguageTags(java.lang.String)
public static LocaleList ForLanguageTags(String arg0)
Parameters
Returns
Get(int)
public Locale Get(int arg0)
Parameters
Returns
GetAdjustedDefault()
public static LocaleList GetAdjustedDefault()
Returns
GetDefault()
public static LocaleList GetDefault()
Returns
GetEmptyLocaleList()
public static LocaleList GetEmptyLocaleList()
Returns
GetFirstMatch(String[])
https://developer.android.com/reference/android/os/LocaleList.html#getFirstMatch(java.lang.String[])
public Locale GetFirstMatch(String[] arg0)
Parameters
Returns
IndexOf(Locale)
public int IndexOf(Locale arg0)
Parameters
Returns
IsEmpty()
public bool IsEmpty()
Returns
IsPseudoLocale(ULocale)
public static bool IsPseudoLocale(ULocale arg0)
Parameters
Returns
MatchesLanguageAndScript(Locale, Locale)
public static bool MatchesLanguageAndScript(Locale arg0, Locale arg1)
Parameters
Returns
SetDefault(LocaleList)
https://developer.android.com/reference/android/os/LocaleList.html#setDefault(android.os.LocaleList)
public static void SetDefault(LocaleList arg0)
Parameters
arg0LocaleList
Size()
public int Size()
Returns
ToLanguageTags()
public String ToLanguageTags()
Returns
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)