UserManager.DisallowCameraToggle 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 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.