RemoteConnection.Callback.OnConnectionEvent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
处理传播到此 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 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。