SecurityLog.TagPackageInstalled 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 package is installed.

[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

Field Value

Value = 210041
Attributes

Remarks

Indicates that a package is installed. The log entry contains the following information about the event, encapsulated in an Object array and accessible via SecurityEvent#getData(): <li> [0] Name of the package being installed (String) <li> [1] Package version code (Long) <li> [2] UserId of the user that installed this package (Integer)

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

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