StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus Struct

Definition

Provides status info for a package that is associated with a download or installation request.

public : struct StorePackageUpdateStatuspublic struct StorePackageUpdateStatusPublic Structure StorePackageUpdateStatus// You can use this struct in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced v1)

Remarks

To request the download or install of a package, use the RequestDownloadAndInstallStorePackagesAsync, RequestDownloadAndInstallStorePackageUpdatesAsync, or RequestDownloadStorePackageUpdatesAsync methods of the StoreContext class. The method that you assign to handle Progress notifications for the request receives a StorePackageUpdateStatus object.

Fields

PackageBytesDownloaded PackageBytesDownloaded PackageBytesDownloaded PackageBytesDownloaded

The number of bytes that have been downloaded.

public : field ulong PackageBytesDownloadedpublic field ulong PackageBytesDownloadedPublic Field PackageBytesDownloaded// You can use this field in JavaScript.

PackageDownloadProgress PackageDownloadProgress PackageDownloadProgress PackageDownloadProgress

The download (or download and install) progress of the current package, represented by a value from 0.0 to 1.0. When you use RequestDownloadStorePackageUpdatesAsync to download packages, this value increases from 0.0 to 1.0 during the download of each package. When you use RequestDownloadAndInstallStorePackageUpdatesAsync to download and install packages in a single operation, this value increases from 0.0 to 0.8 during the download of each package, and then it increases from 0.8 to 1.0 during the install phase.

public : field double PackageDownloadProgresspublic field double PackageDownloadProgressPublic Field PackageDownloadProgress// You can use this field in JavaScript.

PackageDownloadSizeInBytes PackageDownloadSizeInBytes PackageDownloadSizeInBytes PackageDownloadSizeInBytes

The size of the package that is being downloaded, in bytes. This is an estimate, and it might change during the download process.

public : field ulong PackageDownloadSizeInBytespublic field ulong PackageDownloadSizeInBytesPublic Field PackageDownloadSizeInBytes// You can use this field in JavaScript.

PackageFamilyName PackageFamilyName PackageFamilyName PackageFamilyName

The family name of the package that is being downloaded or installed.

public : field PlatForm::String PackageFamilyNamepublic field string PackageFamilyNamePublic Field PackageFamilyName// You can use this field in JavaScript.

PackageUpdateState PackageUpdateState PackageUpdateState PackageUpdateState

A StorePackageUpdateState value that indicates the state of the package that is being downloaded or installed.

public : field StorePackageUpdateState PackageUpdateStatepublic field StorePackageUpdateState PackageUpdateStatePublic Field PackageUpdateState// You can use this field in JavaScript.

TotalDownloadProgress TotalDownloadProgress TotalDownloadProgress TotalDownloadProgress

The current progress of all package downloads in the request, represented by a value from 0.0 to 1.0.

public : field double TotalDownloadProgresspublic field double TotalDownloadProgressPublic Field TotalDownloadProgress// You can use this field in JavaScript.