Method CheckForUpdatesAsync
CheckForUpdatesAsync()
Returns a System.Threading.Tasks.Task<TResult> for the offline map that was used to construct this task.
Declaration
public Task<OfflineMapUpdatesInfo> CheckForUpdatesAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<OfflineMapUpdatesInfo> | A task that represents the asynchronous creation of default offline map sync parameters. The value of the task result is an OfflineMapUpdatesInfo object. |
Remarks
The returned OfflineMapUpdatesInfo provides high level information on what updates are available for this offline map. Information is provided on:
- Online changes that can be applied to update your offline map.
- Local changes from your offline map that can be sent back to the online services.
Calling this method provides high-level information on the available updates. It can help you to determine whether to call SyncOfflineMap(OfflineMapSyncParameters) immediately, based upon factors such as current disk space and network availability. Examine these properties before starting the potentially time-consuming offline map sync process.
The resulting OfflineMapUpdatesInfo provides a snap-shot of available updates when this method was called. To check for new updates you need to call this method again.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |