Language

CallControl.Answer メソッド

定義

オーバーロード

名前 説明
Answer(Int32, IExecutor, IOutcomeReceiver)

着信呼び出しに応答する通信を要求します。

Answer(CallType, IExecutor, IOutcomeReceiver)

着信呼び出しに応答する通信を要求します。

Answer(Int32, IExecutor, IOutcomeReceiver)

着信呼び出しに応答する通信を要求します。

[Android.Runtime.Register("answer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void Answer(int callType, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("answer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.Answer : int * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

パラメーター

callType
Int32

を使用して Telecom に報告します。 Telecom は、別のサービス/デバイスが別の画面で通話を続行するために CallType を要求した場合に 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 call state to active

                          <code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
                          the call state to active.  A <code data-dev-comment-type="c">CallException</code> will be passed
                          that details why the operation failed.
属性

注釈

着信呼び出しに応答する通信を要求します。 保留にされた発信通話と通話の場合は、 CallControl#setActive(Executor, OutcomeReceiver)を使用します。

Javaドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象

Answer(CallType, IExecutor, IOutcomeReceiver)

着信呼び出しに応答する通信を要求します。

[Android.Runtime.Register("answer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void Answer(Android.Telecom.CallType videoState, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("answer", "(ILjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.Answer : Android.Telecom.CallType * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

パラメーター

videoState
CallType

を使用して Telecom に報告します。 Telecom は、別のサービス/デバイスが別の画面で呼び出しを続行するために VideoState を要求した場合に、VideoState を格納します。

executor
IExecutor

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

callback
IOutcomeReceiver

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

                          <code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has successfully
                          switched the call state to active

                          <code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to set
                          the call state to active.  A <code data-dev-comment-type="c">CallException</code> will be passed
                          that details why the operation failed.
属性

注釈

着信呼び出しに応答する通信を要求します。 保留にされた発信通話と通話の場合は、 CallControl#setActive(Executor, OutcomeReceiver)を使用します。

Javaドキュメント。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象