語言

CallControl.SendEvent(String, Bundle) 方法

定義

透過 來追蹤此通話android.telecom.InCallService的實作提出事件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

參數

e
String
extras
Bundle

包含 android.os.Bundle 事件相關資訊,依VoIP應用程式與 android.telecom.InCallService約定。

屬性

備註

透過 來追蹤此通話android.telecom.InCallService的實作提出事件android.telecom.Call.Callback#onConnectionEvent(Call, String, Bundle)。 這些事件及參數相關的額外金鑰 Bundle 由 VoIP 應用程式 android.telecom.InCallService與 互相定義。 此 API 用於傳遞除 to android.telecom.CallAttributess 指定android.telecom.InCallService之外的呼叫額外資訊。 這可能包括例如更改會議參與者名單,或更改舉手的發言者姓名。 在適當情況下, InCallService追蹤此通話的 s 可能會選擇提供關於該通話的額外資訊。 例如,汽車呼叫用戶體驗(UX)可能有足夠的螢幕空間顯示會議參與者人數,但為了避免干擾,可能會壓制參與者名單。

的 android.telecom.CallControl.sendEvent(java.lang.String, android.os.Bundle)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於