Aracılığıyla paylaş


Connection.VideoProvider.OnSendSessionModifyResponse(VideoProfile) Method

Definition

Provides a response to a request to change the current video session properties.

[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

Parameters

responseProfile
VideoProfile

The response video profile.

Attributes

Remarks

Provides a response to a request to change the current video session properties.

For example, if the peer requests and upgrade from an audio-only call to a bi-directional video call, could decline the request and keep the call as audio-only. In such a scenario, the responseProfile would have a video state of VideoProfile#STATE_AUDIO_ONLY. If the user had decided to accept the request, the video state would be VideoProfile#STATE_BIDIRECTIONAL.

Sent from the InCallService via InCallService.VideoCall#sendSessionModifyResponse(VideoProfile) in response to a InCallService.VideoCall.Callback#onSessionModifyRequestReceived(VideoProfile) callback.

Java documentation for android.telecom.Connection.VideoProvider.onSendSessionModifyResponse(android.telecom.VideoProfile).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to