RemoteConnection.Callback.OnConnectionEvent 方法

定义

处理传播到此 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

参数

connection
RemoteConnection

调用 RemoteConnection 此方法。

e
String
extras
Bundle

与事件关联的附加项。

属性

注解

处理传播到此 RemoteConnection的连接事件。

连接事件源自 Connection#sendConnectionEvent(String, Bundle).

适用于 . 的 android.telecom.RemoteConnection.Callback.onConnectionEvent(android.telecom.RemoteConnection, java.lang.String, android.os.Bundle)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于