Language

InCallService.VideoCall.Callback.OnSessionModifyResponseReceived Method

Definition

Called when the Connection.VideoProvider receives a response to a session modification request previously sent to the peer device.

[Android.Runtime.Register("onSessionModifyResponseReceived", "(ILandroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyResponseReceived_ILandroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void OnSessionModifyResponseReceived(Android.Telecom.ModifyRequestResult status, Android.Telecom.VideoProfile? requestedProfile, Android.Telecom.VideoProfile? responseProfile);
[<Android.Runtime.Register("onSessionModifyResponseReceived", "(ILandroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetOnSessionModifyResponseReceived_ILandroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member OnSessionModifyResponseReceived : Android.Telecom.ModifyRequestResult * Android.Telecom.VideoProfile * Android.Telecom.VideoProfile -> unit

Parameters

status
ModifyRequestResult

Status of the session modify request. Valid values are Connection.VideoProvider.SESSION_MODIFY_REQUEST_SUCCESS, Connection.VideoProvider.SESSION_MODIFY_REQUEST_FAIL, Connection.VideoProvider.SESSION_MODIFY_REQUEST_INVALID, Connection.VideoProvider.SESSION_MODIFY_REQUEST_TIMED_OUT, Connection.VideoProvider.SESSION_MODIFY_REQUEST_REJECTED_BY_REMOTE.

requestedProfile
VideoProfile

The original request which was sent to the peer device.

responseProfile
VideoProfile

The actual profile changes made by the peer device.

Attributes

Remarks

Called when the Connection.VideoProvider receives a response to a session modification request previously sent to the peer device.

The new video state should not be considered active by the InCallService until the Call video state changes (the Call.Callback.onDetailsChanged(Call,Call.Details) callback is triggered when the video state changes).

Callback originates from Connection.VideoProvider.receiveSessionModifyResponse(int,VideoProfile,VideoProfile).

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

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