語言

CallControl.SetGroupCallState(Boolean, IExecutor, IOutcomeReceiver) 方法

定義

設定持續通話的群組通話狀態。

[Android.Runtime.Register("setGroupCallState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)]
public void SetGroupCallState(bool isGroupCall, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("setGroupCallState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=37)>]
member this.SetGroupCallState : bool * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

參數

isGroupCall
Boolean

true 如果通話目前是群組通話, false 否則就不行。

executor
IExecutor

回ExecutorOutcomeReceiver訪將被點名。

callback
IOutcomeReceiver

這些資料會在電信端完成,詳述所請求作業的成敗。

                           <code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
                           successfully switched the video state.

                           <code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to
                           set the new video state.  A <code data-dev-comment-type="c">CallException</code> will be passed  that
                           details why the operation failed.
屬性

備註

設定持續通話的群組通話狀態。

此方法應由 VoIP 應用程式呼叫。 當通話轉為或從群組通話轉接時。 例如,如果一對一通話增加了更多參與者並變成會議,這個方法就能告知系統該變化。

提供此狀態後,Android 系統能在系統的使用者介面中正確呈現通話,例如原生通話記錄。 作為整合通話記錄功能的一部分,該功能提供業者與 VoIP 通話的統一歷史紀錄,準確辨識群組通話對於用戶體驗一致至關重要。

Android 參考資料。android.telecom.CallControl.setGroupCallState

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於