Freigeben über


SecurityLog.TagAdbShellCmd 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 a shell command was issued over ADB via adb shell <command> The log entry contains a String payload containing the shell command, accessible via SecurityEvent#getData().

[Android.Runtime.Register("TAG_ADB_SHELL_CMD", ApiSince=24)]
[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 TagAdbShellCmd = 210002;
[<Android.Runtime.Register("TAG_ADB_SHELL_CMD", ApiSince=24)>]
[<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 TagAdbShellCmd : Android.App.Admin.SecurityLogTags

Field Value

Value = 210002
Attributes

Remarks

Indicates that a shell command was issued over ADB via adb shell <command> The log entry contains a String payload containing the shell command, accessible via SecurityEvent#getData(). If security logging is enabled on organization-owned managed profile devices, the shell command will be redacted to an empty string.

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

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