Läs på engelska

Dela via


RemoteConnection.Callback.OnConnectionEvent Method

Definition

Handles a connection event propagated to this RemoteConnection.

C#
[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);

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35