CallControl.RequestMuteState(Boolean, IExecutor, IOutcomeReceiver) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
新しいミュート状態を要求します。
[Android.Runtime.Register("requestMuteState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)]
public void RequestMuteState(bool isMuted, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("requestMuteState", "(ZLjava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "", ApiSince=35)>]
member this.RequestMuteState : bool * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
パラメーター
- isMuted
- Boolean
新しいミュート状態。 isMuted パラメーターの Boolean#TRUE を渡すと、呼び出しがミュートされます。
Boolean#FALSE は呼び出しのミュートを解除します。
- executor
- IExecutor
Executorコールバックが呼び出されるOutcomeReceiver。
- callback
- IOutcomeReceiver
通信側で完了する OutcomeReceiver 。要求された操作の成功または失敗について詳しく説明します。
<code data-dev-comment-type="c">OutcomeReceiver#onResult</code> will be called if Telecom has
successfully changed the mute state.
<code data-dev-comment-type="c">OutcomeReceiver#onError</code> will be called if Telecom has failed to
switch to the mute state. A <code data-dev-comment-type="c">CallException</code> will be
passed that details why the operation failed.
- 属性
注釈
新しいミュート状態を要求します。 注: CallEventCallback#onMuteStateChanged(boolean) はミュート状態が変更されるたびに呼び出され、現在のミュート状態を追跡するために使用できます。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。