CallControl.SetActive(IExecutor, IOutcomeReceiver) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Request Telecom は、呼び出し状態をアクティブに設定します。
[Android.Runtime.Register("setActive", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void SetActive(Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("setActive", "(Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.SetActive : Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
パラメーター
- executor
- IExecutor
OutcomeReceiverコールバックが呼び出されるExecutor。
- 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.
- 属性
注釈
Request Telecom は、呼び出し状態をアクティブに設定します。 このメソッドは、発信呼び出しがアクティブになる準備ができているか、保留されている呼び出しが再びアクティブになる準備ができている場合に呼び出す必要があります。 応答する準備ができている着信通話の場合は、 CallControl#answer(int, Executor, OutcomeReceiver)を使用します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。