Udostępnij za pośrednictwem


SecurityLog.TagPackageUninstalled 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 uninstalled.

[Android.Runtime.Register("TAG_PACKAGE_UNINSTALLED", 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 TagPackageUninstalled = 210043;
[<Android.Runtime.Register("TAG_PACKAGE_UNINSTALLED", 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 TagPackageUninstalled : Android.App.Admin.SecurityLogTags

Field Value

Value = 210043
Attributes

Remarks

Indicates that a package is uninstalled. 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 uninstalled (String) <li> [1] Package version code (Long) <li> [2] UserId of the user that uninstalled this package (Integer)

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

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