語言

CallControl.StartCallStreaming(IExecutor, IOutcomeReceiver) 方法

定義

請求開始通話串流會話。

[Android.Runtime.Register("startCallStreaming", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void StartCallStreaming(Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("startCallStreaming", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.StartCallStreaming : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

參數

executor
IExecutor

回ExecutorOutcomeReceiver訪將被點名。

callback
IOutcomeReceiver

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

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

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

備註

請求開始通話串流會話。 收到有效請求後,電信會綁定由一般通話串流發送端實現的。CallStreamingService 這樣通話串流發送方就能將本地裝置音訊串流傳送到另一個遠端裝置,並在串流期間控制通話內容。

的 android.telecom.CallControl.startCallStreaming(java.util.concurrent.Executor, android.os.OutcomeReceiver<java.lang.Void, android.telecom.CallException>)Java 檔。

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

適用於