Partager via


CarrierConfigManager.KeyCarrierDefaultActionsOnDcfailureStringArray Field

Definition

Defines carrier-specific actions which act upon CARRIER_SIGNAL_REQUEST_NETWORK_FAILED and configured signal args: android.

[Android.Runtime.Register("KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY", ApiSince=30)]
public const string KeyCarrierDefaultActionsOnDcfailureStringArray;
[<Android.Runtime.Register("KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY", ApiSince=30)>]
val mutable KeyCarrierDefaultActionsOnDcfailureStringArray : string

Field Value

Attributes

Remarks

Defines carrier-specific actions which act upon CARRIER_SIGNAL_REQUEST_NETWORK_FAILED and configured signal args: android.telephony.TelephonyManager#EXTRA_APN_TYPE, android.telephony.TelephonyManager#EXTRA_ERROR_CODE used for customization of the default carrier app Format: { "APN_1, ERROR_CODE_1 : CARRIER_ACTION_IDX_1, CARRIER_ACTION_IDX_2...", "APN_1, ERROR_CODE_2 : CARRIER_ACTION_IDX_1 " } Where APN_1 is an integer defined in android.telephony.data.ApnSetting (e.g. android.telephony.data.ApnSetting#TYPE_DEFAULTERROR_CODE_1 is an integer defined in android.telephony.DataFailCause Example: android.telephony.DataFailCause#MISSING_UNKNOWN_APN

CARRIER_ACTION_IDX_1 is an integer defined in com.android.carrierdefaultapp.CarrierActionUtils Example: com.android.carrierdefaultapp.CarrierActionUtils#CARRIER_ACTION_DISABLE_METERED_APNS disables metered APNs

Java documentation for android.telephony.CarrierConfigManager.KEY_CARRIER_DEFAULT_ACTIONS_ON_DCFAILURE_STRING_ARRAY.

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