Language

Connection.VideoProvider.OnSendSessionModifyRequest メソッド

定義

現在のビデオ セッションのプロパティを変更する要求を発行します。

[Android.Runtime.Register("onSendSessionModifyRequest", "(Landroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetOnSendSessionModifyRequest_Landroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void OnSendSessionModifyRequest(Android.Telecom.VideoProfile? fromProfile, Android.Telecom.VideoProfile? toProfile);
[<Android.Runtime.Register("onSendSessionModifyRequest", "(Landroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetOnSendSessionModifyRequest_Landroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member OnSendSessionModifyRequest : Android.Telecom.VideoProfile * Android.Telecom.VideoProfile -> unit

パラメーター

fromProfile
VideoProfile

要求の前のビデオ プロファイル。

toProfile
VideoProfile

要求された変更が加えられたビデオ プロファイル。

属性

注釈

現在のビデオ セッションのプロパティを変更する要求を発行します。

シナリオの例としては、音声のみの呼び出しを双方向ビデオ通話にアップグレードするよう要求する、ユーザーのカメラをオンまたはオフにする、 InCallService がフォアグラウンド アプリケーションではなくなったときに一時停止信号を送信する、などがあります。

VideoProviderが要求が無効であると判断した場合は、#receiveSessionModifyResponse(int, VideoProfile, VideoProfile)を呼び出して、無効な要求をInCallServiceに報告する必要があります。

要求でピア デバイスのユーザーからの確認が必要な場合、 VideoProvider はピア デバイスに要求を通信し、ユーザーの応答を処理する必要があります。 #receiveSessionModifyResponse(int, VideoProfile, VideoProfile) は、要求の結果を InCallService に通知するために使用されます。

InCallService経由でInCallService.VideoCall#sendSessionModifyRequest(VideoProfile)から送信されます。

Javaドキュメント。

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

適用対象