CallControl.RequestVideoState(CallType, IExecutor, IOutcomeReceiver) Metodo

Definizione

Richiedere un nuovo stato video per la chiamata in corso.

[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

Parametri

videoState
CallType

per segnalare a Telecom. Per visualizzare l'argomento valido da passare, vedere CallAttributes.CallType.

executor
IExecutor

Oggetto Executor su cui verrà chiamato il OutcomeReceiver callback.

callback
IOutcomeReceiver

che verrà completato sul lato Telecom che dettaglia l'esito positivo o negativo dell'operazione richiesta.

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

Commenti

Richiedere un nuovo stato video per la chiamata in corso. Questa operazione può essere modificata solo se l'applicazione ha registrato un PhoneAccount oggetto con PhoneAccount#CAPABILITY_SUPPORTS_VIDEO_CALLING e impostare quando CallAttributes#SUPPORTS_VIDEO_CALLING si aggiunge la chiamata tramite TelecomManager#addCall(CallAttributes, Executor, OutcomeReceiver, CallControlCallback, CallEventCallback)

per android.telecom.CallControl.requestVideoState(int, java.util.concurrent.Executor, android.os.OutcomeReceiver<java.lang.Void, android.telecom.CallException>).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a