共用方式為


InCallService.VideoCall.SendSessionModifyRequest(VideoProfile) Method

Definition

Issues a request to modify the properties of the current video session.

[Android.Runtime.Register("sendSessionModifyRequest", "(Landroid/telecom/VideoProfile;)V", "GetSendSessionModifyRequest_Landroid_telecom_VideoProfile_Handler", ApiSince=23)]
public abstract void SendSessionModifyRequest (Android.Telecom.VideoProfile? requestProfile);
[<Android.Runtime.Register("sendSessionModifyRequest", "(Landroid/telecom/VideoProfile;)V", "GetSendSessionModifyRequest_Landroid_telecom_VideoProfile_Handler", ApiSince=23)>]
abstract member SendSessionModifyRequest : Android.Telecom.VideoProfile -> unit

Parameters

requestProfile
VideoProfile

The requested call video properties.

Attributes

Remarks

Issues a request to modify the properties of the current video session.

Example scenarios include: requesting an audio-only call to be upgraded to a bi-directional video call, turning on or off the user's camera, sending a pause signal when the InCallService is no longer the foreground application.

Handled by Connection.VideoProvider#onSendSessionModifyRequest(VideoProfile, VideoProfile).

Java documentation for android.telecom.InCallService.VideoCall.sendSessionModifyRequest(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