Connection.VideoProvider.ReceiveSessionModifyResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to inform listening InCallService
implementations when the
VideoProvider
receives a response to a session modification request.
[Android.Runtime.Register("receiveSessionModifyResponse", "(ILandroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetReceiveSessionModifyResponse_ILandroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public virtual void ReceiveSessionModifyResponse (Android.Telecom.ModifyRequestResult status, Android.Telecom.VideoProfile? requestedProfile, Android.Telecom.VideoProfile? responseProfile);
[<Android.Runtime.Register("receiveSessionModifyResponse", "(ILandroid/telecom/VideoProfile;Landroid/telecom/VideoProfile;)V", "GetReceiveSessionModifyResponse_ILandroid_telecom_VideoProfile_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member ReceiveSessionModifyResponse : Android.Telecom.ModifyRequestResult * Android.Telecom.VideoProfile * Android.Telecom.VideoProfile -> unit
override this.ReceiveSessionModifyResponse : Android.Telecom.ModifyRequestResult * Android.Telecom.VideoProfile * Android.Telecom.VideoProfile -> unit
Parameters
- status
- ModifyRequestResult
Status of the session modify request. Valid values are
VideoProvider#SESSION_MODIFY_REQUEST_SUCCESS
,
VideoProvider#SESSION_MODIFY_REQUEST_FAIL
,
VideoProvider#SESSION_MODIFY_REQUEST_INVALID
,
VideoProvider#SESSION_MODIFY_REQUEST_TIMED_OUT
,
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 agreed to by the peer device.
- Attributes
Remarks
Used to inform listening InCallService
implementations when the VideoProvider
receives a response to a session modification request.
Received by the InCallService
via InCallService.VideoCall.Callback#onSessionModifyResponseReceived(int, VideoProfile, 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.