Udostępnij za pośrednictwem


ULocale.AcceptLanguage Method

Definition

Overloads

AcceptLanguage(ULocale[], Boolean[])
AcceptLanguage(String, Boolean[])
AcceptLanguage(ULocale[], ULocale[], Boolean[])
AcceptLanguage(String, ULocale[], Boolean[])

AcceptLanguage(ULocale[], Boolean[])

[Android.Runtime.Register("acceptLanguage", "([Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? AcceptLanguage (Android.Icu.Util.ULocale[]? acceptLanguageList, bool[]? fallback);
[<Android.Runtime.Register("acceptLanguage", "([Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member AcceptLanguage : Android.Icu.Util.ULocale[] * bool[] -> Android.Icu.Util.ULocale

Parameters

acceptLanguageList
ULocale[]
fallback
Boolean[]

Returns

Attributes

Remarks

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

AcceptLanguage(String, Boolean[])

[Android.Runtime.Register("acceptLanguage", "(Ljava/lang/String;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? AcceptLanguage (string? acceptLanguageList, bool[]? fallback);
[<Android.Runtime.Register("acceptLanguage", "(Ljava/lang/String;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member AcceptLanguage : string * bool[] -> Android.Icu.Util.ULocale

Parameters

acceptLanguageList
String
fallback
Boolean[]

Returns

Attributes

Remarks

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

AcceptLanguage(ULocale[], ULocale[], Boolean[])

[Android.Runtime.Register("acceptLanguage", "([Landroid/icu/util/ULocale;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? AcceptLanguage (Android.Icu.Util.ULocale[]? acceptLanguageList, Android.Icu.Util.ULocale[]? availableLocales, bool[]? fallback);
[<Android.Runtime.Register("acceptLanguage", "([Landroid/icu/util/ULocale;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member AcceptLanguage : Android.Icu.Util.ULocale[] * Android.Icu.Util.ULocale[] * bool[] -> Android.Icu.Util.ULocale

Parameters

acceptLanguageList
ULocale[]
availableLocales
ULocale[]
fallback
Boolean[]

Returns

Attributes

Remarks

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

AcceptLanguage(String, ULocale[], Boolean[])

[Android.Runtime.Register("acceptLanguage", "(Ljava/lang/String;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)]
public static Android.Icu.Util.ULocale? AcceptLanguage (string? acceptLanguageList, Android.Icu.Util.ULocale[]? availableLocales, bool[]? fallback);
[<Android.Runtime.Register("acceptLanguage", "(Ljava/lang/String;[Landroid/icu/util/ULocale;[Z)Landroid/icu/util/ULocale;", "", ApiSince=24)>]
static member AcceptLanguage : string * Android.Icu.Util.ULocale[] * bool[] -> Android.Icu.Util.ULocale

Parameters

acceptLanguageList
String
availableLocales
ULocale[]
fallback
Boolean[]

Returns

Attributes

Remarks

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