Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# TelephonyCallback.EmergencyNumberListListener

*** ** * ** ***

` public static interface TelephonyCallback.EmergencyNumberListListener `   
` `

|---|
| android.telephony.TelephonyCallback.EmergencyNumberListListener |

<br />

*** ** * ** ***

Interface for the current emergency number list listener.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/telephony/TelephonyCallback.EmergencyNumberListListener#onEmergencyNumberListChanged(java.util.Map<java.lang.Integer,java.util.List<android.telephony.emergency.EmergencyNumber>>)(https://developer.android.com/reference/java/util/Map<https://developer.android.com/reference/java/lang/Integer, https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/telephony/emergency/EmergencyNumber>> emergencyNumberList) ` Callback invoked when the current emergency number list has changed on the registered subscription. |

## Public methods

### onEmergencyNumberListChanged

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onEmergencyNumberListChanged (Map<Integer, List<EmergencyNumber>> emergencyNumberList)
```

Callback invoked when the current emergency number list has changed on the registered subscription.

Note, the registered subscription is associated with `https://developer.android.com/reference/android/telephony/TelephonyManager` object on which `https://developer.android.com/reference/android/telephony/TelephonyManager#registerTelephonyCallback(java.util.concurrent.Executor,%20android.telephony.TelephonyCallback)` was called. If this TelephonyManager object was created with `https://developer.android.com/reference/android/telephony/TelephonyManager#createForSubscriptionId(int)`, then the callback applies to the given subscription ID. Otherwise, this callback applies to `https://developer.android.com/reference/android/telephony/SubscriptionManager#getDefaultSubscriptionId()`. The calling app should have carrier privileges (see `https://developer.android.com/reference/android/telephony/TelephonyManager#hasCarrierPrivileges()`) if it does not have the `https://developer.android.com/reference/android/Manifest.permission#READ_PHONE_STATE`.   

Requires `https://developer.android.com/reference/android/Manifest.permission#READ_PHONE_STATE`

<br />

| Parameters ||
|---|---|
| `emergencyNumberList` | `Map`: Map associating all active subscriptions on the device with the list of emergency numbers originating from that subscription. If there are no active subscriptions, the map will contain a single entry with `https://developer.android.com/reference/android/telephony/SubscriptionManager#INVALID_SUBSCRIPTION_ID` as the key and a list of emergency numbers as the value. If no emergency number information is available, the value will be empty. This value cannot be `null`. <br /> |