OfflineMapPackageStartDownloadResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the result of an asynchronous request to queue the download of a map package onto the local system.
public ref class OfflineMapPackageStartDownloadResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class OfflineMapPackageStartDownloadResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class OfflineMapPackageStartDownloadResult
Public NotInheritable Class OfflineMapPackageStartDownloadResult
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
This class doesn't represent the final result of a download. It represents the result of requesting the download to be queued. Downloads are queued even if the network isn't available. Download attempts run in the background. If you want to know when a download completes, and the package is fully available for use, handle the StatusChanged event of the OfflineMapPackage. You can use the package offline when the Status property of the OfflineMapPackage has a value of Downloaded. Packages may take a while to download. You can test download times by using the Offline Maps page in system settings to manually download regions.
Properties
Status |
Gets the status of an asynchronous request to download a map package onto the local system. |