StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus Struct

Definition

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

public : struct StorePackageUpdateStatus
struct winrt::Windows::Services::Store::StorePackageUpdateStatus
public struct StorePackageUpdateStatus
Public Structure StorePackageUpdateStatus
var storePackageUpdateStatus = {

   packageBytesDownloaded: /* Your value */,

   packageDownloadProgress: /* Your value */,

   packageDownloadSizeInBytes: /* Your value */,

   packageFamilyName: /* Your value */,

   packageUpdateState: /* Your value */,

   totalDownloadProgress: /* Your value */

}
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 PackageBytesDownloaded

The number of bytes that have been downloaded.

PackageDownloadProgress 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.

PackageDownloadSizeInBytes 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.

PackageFamilyName PackageFamilyName PackageFamilyName PackageFamilyName PackageFamilyName

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

PackageUpdateState PackageUpdateState PackageUpdateState PackageUpdateState PackageUpdateState

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

TotalDownloadProgress TotalDownloadProgress TotalDownloadProgress TotalDownloadProgress TotalDownloadProgress

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