CallControl.RequestVideoState 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| RequestVideoState(CallType, IExecutor, IOutcomeReceiver) |
请求正在进行的呼叫的新视频状态。 |
| RequestVideoState(Int32, IExecutor, IOutcomeReceiver) |
请求正在进行的呼叫的新视频状态。 |
RequestVideoState(CallType, IExecutor, IOutcomeReceiver)
请求正在进行的呼叫的新视频状态。
[Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)]
public void RequestVideoState(Android.Telecom.CallType videoState, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)>]
member this.RequestVideoState : Android.Telecom.CallType * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
参数
- videoState
- CallType
向 Telecom 报告。 若要查看要传递的有效参数,请参阅 CallAttributes.CallType。
- executor
- IExecutor
Executor调用回调的OutcomeReceiver依据。
- callback
- IOutcomeReceiver
将在电信端完成,详细说明所请求操作的成功或失败。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
switched the video state.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
the new video state. A <code data-dev-comment-type="c">CallException</code> will be passed
that details why the operation failed.
- 特性
注解
请求正在进行的呼叫的新视频状态。 仅当应用程序向 注册并设置通过
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
RequestVideoState(Int32, IExecutor, IOutcomeReceiver)
请求正在进行的呼叫的新视频状态。
[Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)]
public void RequestVideoState(int callType, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestVideoState", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)>]
member this.RequestVideoState : int * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
参数
- callType
- Int32
向 Telecom 报告。 若要查看要传递的有效参数,请参阅 CallAttributes.CallType。
- executor
- IExecutor
Executor调用回调的OutcomeReceiver依据。
- callback
- IOutcomeReceiver
将在电信端完成,详细说明所请求操作的成功或失败。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
switched the video state.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
the new video state. A <code data-dev-comment-type="c">CallException</code> will be passed
that details why the operation failed.
- 特性
注解
请求正在进行的呼叫的新视频状态。 仅当应用程序向 注册并设置通过
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。