Language

InCallService.VideoCall.Callback.OnSessionModifyRequestReceived Method

Definition

Called when the Connection.VideoProvider receives a session modification request from the peer device.

[Android.Runtime.Register("onSessionModifyRequestReceived", "(Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyRequestReceived_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void OnSessionModifyRequestReceived(Android.Telecom.VideoProfile? videoProfile);
[<Android.Runtime.Register("onSessionModifyRequestReceived", "(Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyRequestReceived_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member OnSessionModifyRequestReceived : Android.Telecom.VideoProfile -> unit

Parameters

videoProfile
VideoProfile

The requested video profile.

Attributes

Remarks

Called when the Connection.VideoProvider receives a session modification request from the peer device.

The InCallService may potentially prompt the user to confirm whether they wish to accept the request, or decide to automatically accept the request. In either case the InCallService should call VideoCall.sendSessionModifyResponse(VideoProfile) to indicate the video profile agreed upon.

Callback originates from Connection.VideoProvider.receiveSessionModifyRequest(VideoProfile).

Android reference for android.telecom.InCallService.VideoCall.Callback.onSessionModifyRequestReceived.

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