次の方法で共有


InCallService.SetMuted(Boolean) Method

Definition

Sets the microphone mute state.

[Android.Runtime.Register("setMuted", "(Z)V", "", ApiSince=23)]
public void SetMuted (bool state);
[<Android.Runtime.Register("setMuted", "(Z)V", "", ApiSince=23)>]
member this.SetMuted : bool -> unit

Parameters

state
Boolean

true if the microphone should be muted; false otherwise.

Attributes

Remarks

Sets the microphone mute state. When this request is honored, there will be change to the #getCallAudioState().

Java documentation for android.telecom.InCallService.setMuted(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to