ICallEventCallback.OnEvent(String, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.