Aracılığıyla paylaş


CallControl.StartCallStreaming(IExecutor, IOutcomeReceiver) Method

Definition

Request start a call streaming session.

[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

Parameters

executor
IExecutor

The Executor on which the OutcomeReceiver callback will be called on.

callback
IOutcomeReceiver

that will be completed on the Telecom side that details success or failure of the requested operation.

                        <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.
Attributes

Remarks

Request start a call streaming session. On receiving valid request, telecom will bind to the CallStreamingService implemented by a general call streaming sender. So that the call streaming sender can perform streaming local device audio to another remote device and control the call during streaming.

Java documentation for android.telecom.CallControl.startCallStreaming(java.util.concurrent.Executor, android.os.OutcomeReceiver<java.lang.Void, android.telecom.CallException>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to