DeviceAdminInfo.UsesPolicyDisableCamera 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.
Caution
This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.
A type of policy that this device admin can use: disables use of all device cameras.
[Android.Runtime.Register("USES_POLICY_DISABLE_CAMERA")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.", true)]
public const Android.App.Admin.DeviceAdminUses UsesPolicyDisableCamera = 8;
[<Android.Runtime.Register("USES_POLICY_DISABLE_CAMERA")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.DeviceAdminUses enum directly instead of this field.", true)>]
val mutable UsesPolicyDisableCamera : Android.App.Admin.DeviceAdminUses
Field Value
Value = 8Implements
- Attributes
Remarks
A type of policy that this device admin can use: disables use of all device cameras.
To control this policy, the device admin must be a device owner or profile owner, and must have a "disable-camera" tag in the "uses-policies" section of its meta-data. If used by a device owner, the policy affects all users on the device.
Java documentation for android.app.admin.DeviceAdminInfo.USES_POLICY_DISABLE_CAMERA
.
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.