Partager via


TelephonyManager.SimCarrierIdNameFormatted Property

Definition

Returns carrier id name of the current subscription.

public virtual Java.Lang.ICharSequence? SimCarrierIdNameFormatted { [Android.Runtime.Register("getSimCarrierIdName", "()Ljava/lang/CharSequence;", "GetGetSimCarrierIdNameHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getSimCarrierIdName", "()Ljava/lang/CharSequence;", "GetGetSimCarrierIdNameHandler", ApiSince=28)>]
member this.SimCarrierIdNameFormatted : Java.Lang.ICharSequence

Property Value

Carrier name of the current subscription. Return null if the subscription is unavailable or the carrier cannot be identified.

Attributes

Remarks

Returns carrier id name of the current subscription.

Carrier id name is a user-facing name of carrier id returned by #getSimCarrierId(), usually the brand name of the subsidiary (e.g. T-Mobile). Each carrier could configure multiple #getSimOperatorName() SPN but should have a single carrier name. Carrier name is not a canonical identity, use #getSimCarrierId() instead.

The returned carrier name is unlocalized.

Java documentation for android.telephony.TelephonyManager.getSimCarrierIdName().

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