语言

SecurityLog.TagPackageInstalled 字段

定义

注意

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

指示已安装包。

[Android.Runtime.Register("TAG_PACKAGE_INSTALLED", ApiSince=34)]
[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 TagPackageInstalled = 210041;
[<Android.Runtime.Register("TAG_PACKAGE_INSTALLED", ApiSince=34)>]
[<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 TagPackageInstalled : Android.App.Admin.SecurityLogTags

字段值

Value = 210041
特性

注解

指示已安装包。 日志条目包含以下有关事件的信息,这些事件封装在数组中Object,可通过 SecurityEvent#getData():<li [0] 安装包的名称 (String) li> [1] 包版本代码 (Long) <<li>> [2] 安装此包的用户的 UserId (Integer)

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

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

适用于