UserManager.DisallowCameraToggle Field

Definition

Specifies whether the camera toggle is available to the user.

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

Field Value

Attributes

Remarks

Specifies whether the camera toggle is available to the user. If this restriction is set, the user will not be able to block camera access via the system toggle. If camera 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_CAMERA_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