Share via


TelephonyManager.ExtraCarrierId Field

Definition

An int extra used with #ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED which indicates the updated carrier id returned by TelephonyManager#getSimCarrierId().

[Android.Runtime.Register("EXTRA_CARRIER_ID", ApiSince=28)]
public const string ExtraCarrierId;
[<Android.Runtime.Register("EXTRA_CARRIER_ID", ApiSince=28)>]
val mutable ExtraCarrierId : string

Field Value

Attributes

Remarks

An int extra used with #ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED which indicates the updated carrier id returned by TelephonyManager#getSimCarrierId().

Will be TelephonyManager#UNKNOWN_CARRIER_ID if the subscription is unavailable or the carrier cannot be identified.

Java documentation for android.telephony.TelephonyManager.EXTRA_CARRIER_ID.

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