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

# TelephonyCallback.ImsCallDisconnectCauseListener

*** ** * ** ***

` public static interface TelephonyCallback.ImsCallDisconnectCauseListener `   
` `

|---|
| android.telephony.TelephonyCallback.ImsCallDisconnectCauseListener |

<br />

*** ** * ** ***

Interface for IMS call disconnect cause listener.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/telephony/TelephonyCallback.ImsCallDisconnectCauseListener#onImsCallDisconnectCauseChanged(android.telephony.ims.ImsReasonInfo)(https://developer.android.com/reference/android/telephony/ims/ImsReasonInfo imsReasonInfo) ` Callback invoked when IMS call disconnect cause changes on the registered subscription. |

## Public methods

### onImsCallDisconnectCauseChanged

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

```
public abstract void onImsCallDisconnectCauseChanged (ImsReasonInfo imsReasonInfo)
```

Callback invoked when IMS call disconnect cause changes on the registered subscription. Note, the registration subscription ID comes from `https://developer.android.com/reference/android/telephony/TelephonyManager` object which registers TelephonyCallback by `https://developer.android.com/reference/android/telephony/TelephonyManager#registerTelephonyCallback(java.util.concurrent.Executor,%20android.telephony.TelephonyCallback)`. If this TelephonyManager object was created with `https://developer.android.com/reference/android/telephony/TelephonyManager#createForSubscriptionId(int)`, then the callback applies to the 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_PRECISE_PHONE_STATE`.   

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

<br />

| Parameters ||
|---|---|
| `imsReasonInfo` | `ImsReasonInfo`: `https://developer.android.com/reference/android/telephony/ims/ImsReasonInfo` contains details on why IMS call failed. This value cannot be `null`. <br /> |