共用方式為


ServiceInfo.GetNameForLocale(Locale) Method

Definition

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

public string GetNameForLocale (Java.Util.Locale locale);
member this.GetNameForLocale : Java.Util.Locale -> string

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

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