# Print output for @column tags ?>
public
static
interface
TelephonyCallback.EmergencyNumberListListener
| android.telephony.TelephonyCallback.EmergencyNumberListListener |
Interface for the current emergency number list listener.
Public methods | |
|---|---|
abstract
void
|
onEmergencyNumberListChanged(Map<Integer, List<EmergencyNumber>> emergencyNumberList)
Callback invoked when the current emergency number list has changed on the registered subscription. |
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 TelephonyManager object
on which
TelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback)
was called.
If this TelephonyManager object was created with
TelephonyManager#createForSubscriptionId(int), then the callback applies to the
given subscription ID. Otherwise, this callback applies to
SubscriptionManager#getDefaultSubscriptionId().
Requires Manifest.permission.READ_PHONE_STATE
| 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
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. |