语言

ICallEventCallback.OnEvent(String, Bundle) 方法

定义

告知这 android.telecom.CallEventCallback 一 android.telecom.InCallService 点,了解从演示此调用引发的事件。

[Android.Runtime.Register("onEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnEvent_Ljava_lang_String_Landroid_os_Bundle_Handler:Android.Telecom.ICallEventCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnEvent(string e, Android.OS.Bundle extras);
[<Android.Runtime.Register("onEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnEvent_Ljava_lang_String_Landroid_os_Bundle_Handler:Android.Telecom.ICallEventCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnEvent : string * Android.OS.Bundle -> unit

参数

e
String
extras
Bundle

android.os.Bundle包含有关事件的信息,如 VoIP 应用程序与 android.telecom.InCallService.

属性

注解

告知这 android.telecom.CallEventCallback 一 android.telecom.InCallService 点,了解从演示此调用引发的事件。 这些事件和参数的关联额外键Bundle由 VoIP 应用程序相互定义,android.telecom.InCallService 这样,替代调用图面(例如汽车 UI)就可以将请求中继到应用执行其他非标准调用操作。 例如,汽车通话解决方案可能为用户提供在会议期间举手的能力。

Java文档android.telecom.CallEventCallback.onEvent(java.lang.String, android.os.Bundle)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于