Aracılığıyla paylaş


ICallEventCallback.OnEvent(String, Bundle) Method

Definition

Informs this android.telecom.CallEventCallback on events raised from a android.telecom.InCallService presenting this call.

[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

Parameters

e
String
extras
Bundle

a android.os.Bundle containing information about the event, as agreed upon between a VoIP application and android.telecom.InCallService.

Attributes

Remarks

Informs this android.telecom.CallEventCallback on events raised from a android.telecom.InCallService presenting this call. These events and the associated extra keys for the Bundle parameter are mutually defined by a VoIP application and android.telecom.InCallService. This enables alternative calling surfaces, such as an automotive UI, to relay requests to perform other non-standard call actions to the app. For example, an automotive calling solution may offer the ability for the user to raise their hand during a meeting.

Java documentation for android.telecom.CallEventCallback.onEvent(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