Provides information on the available updates for an offline map. More...
- 31 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from Esri::ArcGISRuntime::Object
- 2 signals inherited from QObject
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
Provides information on the available updates for an offline map.
This type provides high level information on what updates are available for an offline map. Update information covers:
- Online changes which can be applied to update your offline map.
- Local changes from your offline map that can be sent back to the online services.
Member Function Documentation
OfflineUpdateAvailability OfflineMapUpdatesInfo::downloadAvailability() const
Indicates whether there are changes available to download.
If this property is
OfflineUpdateAvailability::Available then there are online updates to apply to your offline map.
If this property is
OfflineUpdateAvailability::None then there are no online updates available for your offline map.
Note that the availability of updates to download can only be determined for offline maps which use the scheduled updates workflow. See PreplannedUpdateMode::DownloadScheduledUpdates. If your offline map is setup to sync changes directly with feature services (for example using
PreplannedUpdateMode::SyncWithFeatureServices or created with a GenerateOfflineMapJob), then this property will be
Returns whether the mobile map package must be reopened after applying the available updates.
In some cases, applying updates may require files, such as mobile geodatabases, to be replaced with a new version. When a reopen will be required after updating, this property will be
true - see OfflineMapSyncResult::isMobileMapPackageReopenRequired.
qint64 OfflineMapUpdatesInfo::scheduledUpdatesDownloadSize() const
The total size in bytes of update files to download for a scheduled updates workflow.
The scheduled updates workflow allows read-only updates to be stored with the online map area and downloaded to your device at a later time. Updates can cover several sets of changes to the online geodatabase and can cover multiple geodatabases in an offline map. This property is the total download size of all files required to update your offline map.
You can use this information to determine whether you want to download updates immediately - for example based on available disk space or network availability.
If there are no updates available, or your offline map does not use a scheduled updates workflow, this property will be
Esri::ArcGISRuntime::OfflineUpdateAvailability OfflineMapUpdatesInfo::uploadAvailability() const
Indicates whether there are local changes to upload.
If your offline map contains local edits that can be uploaded to online feature services, this property will be
If there are no local changes, or your offline map does not support syncing with feature services, this property will be
See also Geodatabase::hasLocalEdits.