CallControl.SendEvent(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.
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.InCallService
s. 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 InCallService
s 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.