Język

PackageItemInfo.IsArchived Property

Definition

Whether the package is currently in an archived state.

[Android.Runtime.Register("isArchived", ApiSince=35)]
public bool IsArchived { get; set; }
[<Android.Runtime.Register("isArchived", ApiSince=35)>]
member this.IsArchived : bool with get, set

Property Value

true if the package is archived with its APKs removed and its data retained; otherwise, false.

Attributes

Remarks

Whether the package is currently in an archived state.

Packages can be archived through PackageInstaller#requestArchive and do not have any APKs stored on the device, but do keep the data directory.

Java documentation for android.content.pm.PackageItemInfo.isArchived.

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