Udostępnij za pośrednictwem


AudioManager.MicrophoneMute Property

Definition

Checks whether the microphone mute is on or off. -or- Sets the microphone mute on or off.

public virtual bool MicrophoneMute { [Android.Runtime.Register("isMicrophoneMute", "()Z", "GetIsMicrophoneMuteHandler")] get; [Android.Runtime.Register("setMicrophoneMute", "(Z)V", "GetSetMicrophoneMute_ZHandler")] set; }
[<get: Android.Runtime.Register("isMicrophoneMute", "()Z", "GetIsMicrophoneMuteHandler")>]
[<set: Android.Runtime.Register("setMicrophoneMute", "(Z)V", "GetSetMicrophoneMute_ZHandler")>]
member this.MicrophoneMute : bool with get, set

Property Value

true if microphone is muted, false if it's not

Attributes

Remarks

Property getter documentation:

Checks whether the microphone mute is on or off.

Java documentation for android.media.AudioManager.isMicrophoneMute().

Property setter documentation:

Sets the microphone mute on or off.

This method should only be used by applications that replace the platform-wide management of audio settings or the main telephony application.

Java documentation for android.media.AudioManager.setMicrophoneMute(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