Connection.VideoProvider.OnSendSessionModifyResponse(VideoProfile) メソッド

定義

現在のビデオ セッションのプロパティを変更する要求への応答を提供します。

[Android.Runtime.Register("onSendSessionModifyResponse", "(Landroid/telecom/VideoProfile;)V", "GetOnSendSessionModifyResponse_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void OnSendSessionModifyResponse (Android.Telecom.VideoProfile? responseProfile);
[<Android.Runtime.Register("onSendSessionModifyResponse", "(Landroid/telecom/VideoProfile;)V", "GetOnSendSessionModifyResponse_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member OnSendSessionModifyResponse : Android.Telecom.VideoProfile -> unit

パラメーター

responseProfile
VideoProfile

応答ビデオ プロファイル。

属性

注釈

現在のビデオ セッションのプロパティを変更する要求への応答を提供します。

たとえば、ピアが音声のみの呼び出しから双方向のビデオ通話に対して要求とアップグレードを行う場合、要求を拒否し、呼び出しをオーディオ専用のままにすることができます。 このようなシナリオでは、 responseProfile のビデオ状態 VideoProfile#STATE_AUDIO_ONLYが になります。 ユーザーが要求を受け入れることを決定した場合、ビデオの状態は になります VideoProfile#STATE_BIDIRECTIONAL

コールバックへのInCallServiceInCallService.VideoCall.Callback#onSessionModifyRequestReceived(VideoProfile)応答として を介して InCallService.VideoCall#sendSessionModifyResponse(VideoProfile) から送信されます。

android.telecom.Connection.VideoProvider.onSendSessionModifyResponse(android.telecom.VideoProfile)Java ドキュメント。

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

適用対象