Partager via


CallControl.SendEvent(String, Bundle) Method

Definition

Raises an event to the android.telecom.InCallService implementations tracking this call via android.telecom.Call.Callback#onConnectionEvent(Call, String, Bundle).

[Android.Runtime.Register("sendEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=34)]
public void SendEvent (string e, Android.OS.Bundle extras);
[<Android.Runtime.Register("sendEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=34)>]
member this.SendEvent : 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

Raises an event to the android.telecom.InCallService implementations tracking this call via android.telecom.Call.Callback#onConnectionEvent(Call, String, Bundle). These events and the associated extra keys for the Bundle parameter are mutually defined by a VoIP application and android.telecom.InCallService. This API is used to relay additional information about a call other than what is specified in the android.telecom.CallAttributes to android.telecom.InCallServices. This might include, for example, a change to the list of participants in a meeting, or the name of the speakers who have their hand raised. Where appropriate, the InCallServices tracking this call may choose to render this additional information about the call. An automotive calling UX, for example may have enough screen real estate to indicate the number of participants in a meeting, but to prevent distractions could suppress the list of participants.

Java documentation for android.telecom.CallControl.sendEvent(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