Share via


UserManager.DisallowMicrophoneToggle Field

Definition

Specifies whether the microphone toggle is available to the user.

[Android.Runtime.Register("DISALLOW_MICROPHONE_TOGGLE", ApiSince=31)]
public const string DisallowMicrophoneToggle;
[<Android.Runtime.Register("DISALLOW_MICROPHONE_TOGGLE", ApiSince=31)>]
val mutable DisallowMicrophoneToggle : string

Field Value

Attributes

Remarks

Specifies whether the microphone toggle is available to the user. If this restriction is set, the user will not be able to block microphone access via the system toggle. If microphone access is blocked when the restriction is added, it will be automatically re-enabled.

This restriction can only be set by a device owner.

The default value is false.

Java documentation for android.os.UserManager.DISALLOW_MICROPHONE_TOGGLE.

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