UserManager.DisallowMicrophoneToggle Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.