CallControl.Disconnect(DisconnectCause, IExecutor, IOutcomeReceiver) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
通信を要求して通話を切断し、通信追跡から呼び出しを削除します。
[Android.Runtime.Register("disconnect", "(Landroid/telecom/DisconnectCause;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)]
public void Disconnect(Android.Telecom.DisconnectCause disconnectCause, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("disconnect", "(Landroid/telecom/DisconnectCause;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=34)>]
member this.Disconnect : Android.Telecom.DisconnectCause * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
パラメーター
- disconnectCause
- DisconnectCause
は、呼び出しを切断する原因を表します。 渡される android.telecom.DisconnectCause の唯一の有効なコードは、 <ul><li>DisconnectCause#LOCAL</li><li>DisconnectCause#REMOTE</li><li>DisconnectCause#REJECTED</li><li>DisconnectCause#MISSED</li></ul です。>
- executor
- IExecutor
Executorコールバックが呼び出されるOutcomeReceiver。
- callback
- IOutcomeReceiver
これは、要求された操作の成功または失敗の詳細を示す Telecom 側で完了します。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
successfully disconnected the call.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed
to disconnect the call. A <code data-dev-comment-type="c">CallException</code> will be passed
that details why the operation failed.
<p>
Note: After the call has been successfully disconnected, calling any CallControl API will
result in the <code data-dev-comment-type="c">OutcomeReceiver#onError</code> with
<code data-dev-comment-type="c">CallException#CODE_CALL_IS_NOT_BEING_TRACKED</code>.
- 属性
注釈
通信を要求して通話を切断し、通信追跡から呼び出しを削除します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。