語言

CallControl.RequestCallEndpointChange 方法

定義

請求更改 CallEndpoint。

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

參數

callEndpoint
CallEndpoint

CallEndpoint該改變。

executor
IExecutor

回ExecutorOutcomeReceiver訪將被點名。

callback
IOutcomeReceiver

OutcomeReceiver這些資料會在電信端完成,詳細說明所請求作業的成功或失敗。

                            <code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
                            successfully changed the CallEndpoint that was requested.

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

備註

請求更改 CallEndpoint。 客戶端在請求變更時不應該自行定義 CallEndpoint。 相反地,新端點應是由 CallEventCallback#onAvailableCallEndpointsChanged(List)提供的有效端點之一。

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

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

適用於