语言

SecurityLog.TagAdbShellCmd 字段

定义

注意

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

指示通过 ADB 发出 shell 命令时, adb shell <command> 日志条目包含包含 String shell 命令的有效负载,可通过该负载进行 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

字段值

Value = 210002
特性

注解

指示通过 ADB 发出 shell 命令时, adb shell <command> 日志条目包含包含 String shell 命令的有效负载,可通过该负载进行 SecurityEvent#getData()访问。 如果在组织拥有的托管配置文件设备上启用了安全日志记录,shell 命令将编辑为空字符串。

Java文档android.app.admin.SecurityLog.TAG_ADB_SHELL_CMD。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于