Connection.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 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

コールバックが実行される場所の Executor。

callback
IOutcomeReceiver

エンドポイントの変更の結果を通知するコールバック。

属性

注釈

特定の CallEndpoint へのオーディオ ルーティングを要求します。 クライアントは、変更を要求するときに独自の CallEndpoint を定義しないでください。 代わりに、新しいエンドポイントは、 #onAvailableCallEndpointsChanged(List)によって提供される有効なエンドポイントの 1 つである必要があります。 この要求を受け入れると、 #getCurrentCallEndpoint()が変更されます。

セルフマネージド ConnectionServiceの CallEndpoint を変更するセルフマネージド Connectionで使用されます (PhoneAccount#CAPABILITY_SELF_MANAGEDを参照)。

InCallService#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver) も参照してください。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象