Partager via


TelephonyManager.ExtraSpecificCarrierId Field

Definition

An int extra used with #ACTION_SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED which indicates the updated specific carrier id returned by TelephonyManager#getSimSpecificCarrierId().

[Android.Runtime.Register("EXTRA_SPECIFIC_CARRIER_ID", ApiSince=29)]
public const string ExtraSpecificCarrierId;
[<Android.Runtime.Register("EXTRA_SPECIFIC_CARRIER_ID", ApiSince=29)>]
val mutable ExtraSpecificCarrierId : string

Field Value

Attributes

Remarks

An int extra used with #ACTION_SUBSCRIPTION_SPECIFIC_CARRIER_IDENTITY_CHANGED which indicates the updated specific carrier id returned by TelephonyManager#getSimSpecificCarrierId(). Note, its possible specific carrier id changes while #ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED remains the same e.g, when subscription switch to different IMSIs.

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

Java documentation for android.telephony.TelephonyManager.EXTRA_SPECIFIC_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