Connection.VideoProvider.OnSendSessionModifyResponse(VideoProfile) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供对更改当前视频会话属性的请求的响应。
[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
参数
- responseProfile
- VideoProfile
响应视频配置文件。
- 属性
注解
提供对更改当前视频会话属性的请求的响应。
例如,如果对等方请求并从仅音频呼叫升级到双向视频呼叫,则可能会拒绝请求并将呼叫保留为仅音频。 在这种情况下,视频 responseProfile
状态为 VideoProfile#STATE_AUDIO_ONLY
. 如果用户已决定接受请求,则视频状态为 VideoProfile#STATE_BIDIRECTIONAL
。
从 InCallService
via InCallService.VideoCall#sendSessionModifyResponse(VideoProfile)
发送以响应 InCallService.VideoCall.Callback#onSessionModifyRequestReceived(VideoProfile)
回调。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。