StorePackageUpdateState
StorePackageUpdateState
StorePackageUpdateState
StorePackageUpdateState
Enum
Definition
Defines values that represent the state of a package download or installation request.
public : enum class StorePackageUpdateStatepublic enum StorePackageUpdateStatePublic Enum StorePackageUpdateState// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Services.Store.StoreContract (introduced v1)
|
Fields
| Canceled Canceled Canceled Canceled | The download or installation of the package updates was canceled. |
| Completed Completed Completed Completed | The package updates have finished downloading or installing. |
| Deploying Deploying Deploying Deploying | The package updates are being deployed to the device. |
| Downloading Downloading Downloading Downloading | The package updates are being downloaded. |
| ErrorLowBattery ErrorLowBattery ErrorLowBattery ErrorLowBattery | The download or installation of the package updates did not succeed because the device does not have enough battery power. |
| ErrorWiFiRecommended ErrorWiFiRecommended ErrorWiFiRecommended ErrorWiFiRecommended | The download did not succeed because a Wi-Fi connection is recommended to download the package updates. |
| ErrorWiFiRequired ErrorWiFiRequired ErrorWiFiRequired ErrorWiFiRequired | The download did not succeed because a Wi-Fi connection is required to download the package updates. |
| OtherError OtherError OtherError OtherError | An unknown error occurred. |
| Pending Pending Pending Pending | The download of the package updates has not started. |
Remarks
To request the download or install of a package, use the RequestDownloadAndInstallStorePackagesAsync, RequestDownloadAndInstallStorePackageUpdatesAsync, or RequestDownloadStorePackageUpdatesAsync methods of the StoreContext class.