Share via


SecurityLog.TagCameraPolicySet Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.

Indicates that the admin has set policy to disable camera.

[Android.Runtime.Register("TAG_CAMERA_POLICY_SET", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)]
public const Android.App.Admin.SecurityLogTags TagCameraPolicySet = 210034;
[<Android.Runtime.Register("TAG_CAMERA_POLICY_SET", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.SecurityLogTags enum directly instead of this field.", true)>]
val mutable TagCameraPolicySet : Android.App.Admin.SecurityLogTags

Field Value

Value = 210034
Attributes

Remarks

Indicates that the admin has set policy to disable camera. The log entry contains the following information about the event, encapsulated in an Object array and accessible via SecurityEvent#getData(): <li> [0] admin package name (String) <li> [1] admin user ID (Integer) <li> [2] target user ID (Integer) <li> [3] whether the camera is disabled or not (Integer, 1 if it's disabled, 0 if enabled)

Java documentation for android.app.admin.SecurityLog.TAG_CAMERA_POLICY_SET.

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