PhoneStateListener.ListenCallDisconnectCauses Field

Definition

Listen for call disconnect causes which contains DisconnectCause and PreciseDisconnectCause.

[Android.Runtime.Register("LISTEN_CALL_DISCONNECT_CAUSES", ApiSince=30)]
[Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")]
public const Android.Telephony.PhoneStateListenerFlags ListenCallDisconnectCauses = 33554432;
[<Android.Runtime.Register("LISTEN_CALL_DISCONNECT_CAUSES", ApiSince=30)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_PRECISE_PHONE_STATE")>]
val mutable ListenCallDisconnectCauses : Android.Telephony.PhoneStateListenerFlags

Field Value

Value = 33554432
Attributes

Remarks

Listen for call disconnect causes which contains DisconnectCause and PreciseDisconnectCause.

Requires permission android.Manifest.permission#READ_PRECISE_PHONE_STATE or the calling app has carrier privileges (see TelephonyManager#hasCarrierPrivileges).

This member is deprecated. Use TelephonyCallback.CallDisconnectCauseListener instead.

Java documentation for android.telephony.PhoneStateListener.LISTEN_CALL_DISCONNECT_CAUSES.

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