語言

Connection.RequestCallEndpointChange 方法

定義

請求音訊路由到特定的呼叫端點。

[Android.Runtime.Register("requestCallEndpointChange", "(Landroid/telecom/CallEndpoint;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void RequestCallEndpointChange(Android.Telecom.CallEndpoint endpoint, 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

參數

endpoint
CallEndpoint

呼叫端點要使用。

executor
IExecutor

是回調執行點。

callback
IOutcomeReceiver

回調通知端點變更的結果。

屬性

備註

請求音訊路由到特定的呼叫端點。 客戶端在請求變更時不應該自行定義 CallEndpoint。 相反地,新端點應是由 #onAvailableCallEndpointsChanged(List)提供的有效端點之一。 當此請求被接受時,將對 #getCurrentCallEndpoint()。

用於自管理 ConnectionServices 的 CallEndpoint 變更為自管理 Connection 的 CallEndpoint(參見 PhoneAccount#CAPABILITY_SELF_MANAGED.)

請參閱 InCallService#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver)。

Java 文件 android.telecom.Connection.requestCallEndpointChange(android.telecom.CallEndpoint, java.util.concurrent.Executor, android.os.OutcomeReceiver<java.lang.Void, android.telecom.CallEndpointException>)。

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

適用於