Language

InCallService.OnCallEndpointRequested(CallEndpoint) メソッド

定義

InCallServiceが呼び出しエンドポイントの変更を開始するために#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver)を使用してオーディオ ルートを変更すると、プラットフォームによって呼び出されます。

[Android.Runtime.Register("onCallEndpointRequested", "(Landroid/telecom/CallEndpoint;)V", "GetOnCallEndpointRequested_Landroid_telecom_CallEndpoint_Handler", ApiSince=37)]
public virtual void OnCallEndpointRequested(Android.Telecom.CallEndpoint callEndpoint);
[<Android.Runtime.Register("onCallEndpointRequested", "(Landroid/telecom/CallEndpoint;)V", "GetOnCallEndpointRequested_Landroid_telecom_CallEndpoint_Handler", ApiSince=37)>]
abstract member OnCallEndpointRequested : Android.Telecom.CallEndpoint -> unit
override this.OnCallEndpointRequested : Android.Telecom.CallEndpoint -> unit

パラメーター

callEndpoint
CallEndpoint

要求された CallEndpoint。

属性

注釈

呼び出しエンドポイントの変更を開始するために、InCallService が requestCallEndpointChange(CallEndpoint,Executor,OutcomeReceiver) を使用してオーディオ ルートを変更すると、プラットフォームによって呼び出されます。 これは、InCallService (UI 以外のコンパニオン アプリなど) が、他の InCallServices によって開始されたオーディオ ルートの変更 (Dialer アプリケーションでエンドポイントを変更するユーザーなど) を認識できるようにするためのものです。 この API によって報告される要求は、要求されたエンドポイントで onCallEndpointChanged(CallEndpoint) が呼び出されるまで最終処理ではないことに注意してください。 実際のエンドポイントの変更は、デバイスが使用できなくなったり、ルーティング要求が完了しなかったりする場合に、要求と異なる場合があります。

android.telecom.InCallService.onCallEndpointRequestedの Android リファレンス。

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

適用対象