CallControl.RequestVideoState(CallType, IExecutor, IOutcomeReceiver) メソッド

定義

進行中の通話の新しいビデオ状態を要求します。

[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

パラメーター

videoState
CallType

を使用して Telecom に報告します。 渡す有効な引数については、 CallAttributes.CallTypeを参照してください。

executor
IExecutor

Executorコールバックが呼び出されるOutcomeReceiver

callback
IOutcomeReceiver

要求された操作の成功または失敗を詳しく説明する通信側で完了する。

                          <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.
属性

注釈

進行中の通話の新しいビデオ状態を要求します。 これは、アプリケーションがPhoneAccountPhoneAccount#CAPABILITY_SUPPORTS_VIDEO_CALLINGを登録し、呼び出しを追加するときにCallAttributes#SUPPORTS_VIDEO_CALLINGを設定した場合にのみ変更できます。TelecomManager#addCall(CallAttributes, Executor, OutcomeReceiver, CallControlCallback, CallEventCallback)

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象