TelephonyCallback.ImsCallDisconnectCauseListener
  public
  static
  
  
  interface
  TelephonyCallback.ImsCallDisconnectCauseListener
  
  
  
| android.telephony.TelephonyCallback.ImsCallDisconnectCauseListener | 
Interface for IMS call disconnect cause listener.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        void | 
      onImsCallDisconnectCauseChanged(ImsReasonInfo imsReasonInfo)
      Callback invoked when IMS call disconnect cause changes on the registered subscription. | 
Public methods
onImsCallDisconnectCauseChanged
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 TelephonyManager object
 which registers TelephonyCallback by
 TelephonyManager.registerTelephonyCallback(Executor, TelephonyCallback).
 If this TelephonyManager object was created with
 TelephonyManager.createForSubscriptionId(int), then the callback applies to the
 subscription ID. Otherwise, this callback applies to
 SubscriptionManager.getDefaultSubscriptionId().
 The calling app should have carrier privileges
 (see TelephonyManager.hasCarrierPrivileges) if it does not have the
 Manifest.permission.READ_PRECISE_PHONE_STATE.
 
 Requires Manifest.permission.READ_PRECISE_PHONE_STATE
| Parameters | |
|---|---|
| imsReasonInfo | ImsReasonInfo:ImsReasonInfocontains details on why IMS call failed.
 This value cannot benull. | 
