Share via


ServiceInfo.GetNameForLocaleFormatted(Locale) Method

Definition

Get the user-displayable name for this cell-broadcast service corresponding to the provided Locale.

[Android.Runtime.Register("getNameForLocale", "(Ljava/util/Locale;)Ljava/lang/CharSequence;", "GetGetNameForLocale_Ljava_util_Locale_Handler", ApiSince=28)]
public virtual Java.Lang.ICharSequence GetNameForLocaleFormatted (Java.Util.Locale locale);
[<Android.Runtime.Register("getNameForLocale", "(Ljava/util/Locale;)Ljava/lang/CharSequence;", "GetGetNameForLocale_Ljava_util_Locale_Handler", ApiSince=28)>]
abstract member GetNameForLocaleFormatted : Java.Util.Locale -> Java.Lang.ICharSequence
override this.GetNameForLocaleFormatted : Java.Util.Locale -> Java.Lang.ICharSequence

Parameters

locale
Locale

The Locale in which you want the name of the service. This must be a value from the set returned by #getNamedContentLocales() -- an java.util.NoSuchElementException may be thrown otherwise.

Returns

The CharSequence providing the name of the service in the given Locale

Attributes

Remarks

Get the user-displayable name for this cell-broadcast service corresponding to the provided Locale.

Java documentation for android.telephony.mbms.ServiceInfo.getNameForLocale(java.util.Locale).

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