Describes supported methods for obtaining updates for a preplanned map area. More...
Header: | #include <OfflineMapUpdateCapabilities.h> |
Since: | Esri::ArcGISRuntime 100.6 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~OfflineMapUpdateCapabilities() override |
bool | isSupportsScheduledUpdatesForFeatures() const |
bool | isSupportsSyncWithFeatureServices() const |
Detailed Description
You can identify the supported methods by creating an OfflineMapSyncTask with the offline map (Map) and examining the OfflineMapSyncTask::updateCapabilities. You can determine whether the offline map is configured to use the update packages (isSupportsScheduledUpdatesForFeatures) and to sync directly with feature services (isSupportsSyncWithFeatureServices).
See also PreplannedMapArea::updateCapabilities.
Member Function Documentation
[override virtual]
OfflineMapUpdateCapabilities::~OfflineMapUpdateCapabilities ()
Destructor.
bool OfflineMapUpdateCapabilities::isSupportsScheduledUpdatesForFeatures () const
Returns true
if an offline map supports downloading of read-only scheduled update packages, false
otherwise.
If this property is true
, updates are generated whenever the offline map area is refreshed. For example, the offline map area could be refreshed according to its update schedule. For this approach the web map author must configure the online map to perform scheduled updates.
Updates are prepared once and cached for download by all users of the offline map area. Sharing a single set of cached updates, rather than performing individual sync operations, reduces the load on the back-end services. This approach is scalable for large deployments. As updates are only downloaded, this approach can only be used with read-only workflows. The updates reflect a snapshot of the feature data at the time the web map's offline map area was refreshed (for example, according to the update schedule). They do not reflect the most up-to-date feature data.
If this property is false
, no updates will be available for download.
bool OfflineMapUpdateCapabilities::isSupportsSyncWithFeatureServices () const
Returns whether a preplanned map area contains feature services which are sync enabled.