Connection.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 endpoint, 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
参数
- endpoint
- CallEndpoint
要使用的调用终结点。
- executor
- IExecutor
将执行回调的执行程序。
- callback
- IOutcomeReceiver
用于通知终结点更改结果的回调。
- 特性
注解
请求到特定 CallEndpoint 的音频路由。 客户端在请求更改时不应定义自己的 CallEndpoint。 相反,新终结点应该是由 #onAvailableCallEndpointsChanged(List)它提供的有效终结点之一。 收到此请求后,将更改此 #getCurrentCallEndpoint()请求。
供自管理使用,希望更改自托管ConnectionServiceConnection的 CallEndpoint(请参阅 PhoneAccount#CAPABILITY_SELF_MANAGED.)
另请参阅 InCallService#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。