CallControl.StartCallStreaming(IExecutor, IOutcomeReceiver) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
请求启动呼叫流式处理会话。
[Android.Runtime.Register("startCallStreaming", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void StartCallStreaming(Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("startCallStreaming", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.StartCallStreaming : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
参数
- executor
- IExecutor
Executor调用回调的OutcomeReceiver依据。
- callback
- IOutcomeReceiver
将在电信端完成,详细说明所请求操作的成功或失败。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
started the call streaming.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to
start the call streaming. A <code data-dev-comment-type="c">CallException</code> will be passed that
details why the operation failed.
- 特性
注解
请求启动呼叫流式处理会话。 接收有效请求时,电信将绑定到 CallStreamingService 由常规呼叫流式处理发送方实现的通信。 这样,呼叫流式传输方就可以将本地设备音频流式传输到另一个远程设备,并在流式传输期间控制呼叫。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。