Share via


CarrierConfigManager.ICarrierConfigChangeListener.OnCarrierConfigChanged Method

Definition

Called when carrier configurations have changed.

[Android.Runtime.Register("onCarrierConfigChanged", "(IIII)V", "GetOnCarrierConfigChanged_IIIIHandler:Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnCarrierConfigChanged (int logicalSlotIndex, int subscriptionId, int carrierId, int specificCarrierId);
[<Android.Runtime.Register("onCarrierConfigChanged", "(IIII)V", "GetOnCarrierConfigChanged_IIIIHandler:Android.Telephony.CarrierConfigManager/ICarrierConfigChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnCarrierConfigChanged : int * int * int * int -> unit

Parameters

logicalSlotIndex
Int32

The logical SIM slot index on which to monitor and get notification. It is guaranteed to be valid.

subscriptionId
Int32

The subscription on the SIM slot. May be SubscriptionManager#INVALID_SUBSCRIPTION_ID.

carrierId
Int32

The optional carrier Id, may be TelephonyManager#UNKNOWN_CARRIER_ID. See TelephonyManager#getSimCarrierId().

specificCarrierId
Int32

The optional fine-grained carrierId, may be TelephonyManager#UNKNOWN_CARRIER_ID. A specific carrierId may be different from the carrierId above in a MVNO scenario. See detail in TelephonyManager#getSimSpecificCarrierId().

Attributes

Remarks

Called when carrier configurations have changed.

Java documentation for android.telephony.CarrierConfigManager.CarrierConfigChangeListener.onCarrierConfigChanged(int, int, int, int).

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