Freigeben über


PackageManager.MatchArchivedPackages Field

Definition

Flag parameter to also retrieve some information about archived packages.

[Android.Runtime.Register("MATCH_ARCHIVED_PACKAGES", ApiSince=35)]
public const long MatchArchivedPackages = 4294967296;
[<Android.Runtime.Register("MATCH_ARCHIVED_PACKAGES", ApiSince=35)>]
val mutable MatchArchivedPackages : int64

Field Value

Value = 4294967296
Attributes

Remarks

Flag parameter to also retrieve some information about archived packages. Packages can be archived through PackageInstaller#requestArchive and do not have any APKs stored on the device, but do keep the data directory.

Note: Archived apps are a subset of apps returned by #MATCH_UNINSTALLED_PACKAGES.

Note: this flag may cause less information about currently installed applications to be returned.

Note: use of this flag requires the android.permission.QUERY_ALL_PACKAGES permission to see uninstalled packages.

Java documentation for android.content.pm.PackageManager.MATCH_ARCHIVED_PACKAGES.

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