CallControl.RequestCallEndpointChange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求 CallEndpoint 更改。
[Android.Runtime.Register("requestCallEndpointChange", "(Landroid/telecom/CallEndpoint;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void RequestCallEndpointChange(Android.Telecom.CallEndpoint callEndpoint, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestCallEndpointChange", "(Landroid/telecom/CallEndpoint;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.RequestCallEndpointChange : Android.Telecom.CallEndpoint * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
参数
- callEndpoint
- CallEndpoint
CallEndpoint要更改为的。
- executor
- IExecutor
Executor调用回调的OutcomeReceiver依据。
- callback
- IOutcomeReceiver
将在 OutcomeReceiver 电信端完成,详细说明所请求操作的成功或失败。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
successfully changed the CallEndpoint that was requested.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to
switch to the requested CallEndpoint. A <code data-dev-comment-type="c">CallException</code> will be
passed that details why the operation failed.
- 特性
注解
请求 CallEndpoint 更改。 客户端在请求更改时不应定义自己的 CallEndpoint。 相反,新终结点应该是由 CallEventCallback#onAvailableCallEndpointsChanged(List)它提供的有效终结点之一。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。