RemoteConnection.Callback.OnDisconnected Method

Definition

Invoked when this RemoteConnection is disconnected.

[Android.Runtime.Register("onDisconnected", "(Landroid/telecom/RemoteConnection;Landroid/telecom/DisconnectCause;)V", "GetOnDisconnected_Landroid_telecom_RemoteConnection_Landroid_telecom_DisconnectCause_Handler", ApiSince=23)]
public virtual void OnDisconnected (Android.Telecom.RemoteConnection connection, Android.Telecom.DisconnectCause disconnectCause);
[<Android.Runtime.Register("onDisconnected", "(Landroid/telecom/RemoteConnection;Landroid/telecom/DisconnectCause;)V", "GetOnDisconnected_Landroid_telecom_RemoteConnection_Landroid_telecom_DisconnectCause_Handler", ApiSince=23)>]
abstract member OnDisconnected : Android.Telecom.RemoteConnection * Android.Telecom.DisconnectCause -> unit
override this.OnDisconnected : Android.Telecom.RemoteConnection * Android.Telecom.DisconnectCause -> unit

Parameters

connection
RemoteConnection

The RemoteConnection invoking this method.

disconnectCause
DisconnectCause

The (DisconnectCause) associated with this failed connection.

Attributes

Remarks

Invoked when this RemoteConnection is disconnected.

Java documentation for android.telecom.RemoteConnection.Callback.onDisconnected(android.telecom.RemoteConnection, android.telecom.DisconnectCause).

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