Dela via


RemoteConnection.Callback.OnConnectionEvent Method

Definition

Handles a connection event propagated to this RemoteConnection.

[Android.Runtime.Register("onConnectionEvent", "(Landroid/telecom/RemoteConnection;Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnConnectionEvent_Landroid_telecom_RemoteConnection_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=25)]
public virtual void OnConnectionEvent (Android.Telecom.RemoteConnection connection, string e, Android.OS.Bundle extras);
[<Android.Runtime.Register("onConnectionEvent", "(Landroid/telecom/RemoteConnection;Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnConnectionEvent_Landroid_telecom_RemoteConnection_Ljava_lang_String_Landroid_os_Bundle_Handler", ApiSince=25)>]
abstract member OnConnectionEvent : Android.Telecom.RemoteConnection * string * Android.OS.Bundle -> unit
override this.OnConnectionEvent : Android.Telecom.RemoteConnection * string * Android.OS.Bundle -> unit

Parameters

connection
RemoteConnection

The RemoteConnection invoking this method.

e
String
extras
Bundle

Extras associated with the event.

Attributes

Remarks

Handles a connection event propagated to this RemoteConnection.

Connection events originate from Connection#sendConnectionEvent(String, Bundle).

Java documentation for android.telecom.RemoteConnection.Callback.onConnectionEvent(android.telecom.RemoteConnection, java.lang.String, android.os.Bundle).

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