Compartilhar via


SecurityLog.TagRemoteLock 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 an admin remotely locked the device or profile.

[Android.Runtime.Register("TAG_REMOTE_LOCK", ApiSince=28)]
[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 TagRemoteLock = 210022;
[<Android.Runtime.Register("TAG_REMOTE_LOCK", ApiSince=28)>]
[<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 TagRemoteLock : Android.App.Admin.SecurityLogTags

Field Value

Value = 210022
Attributes

Remarks

Indicates that an admin remotely locked the device or profile. The log entry contains the following information about the event encapsulated in an Object array, accessible via SecurityEvent#getData(): <li> [0] admin package name (String), <li> [1] admin user ID (Integer). <li> [2] target user ID (Integer)

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

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