OfflineMapUpdateCapabilities Class

  • OfflineMapUpdateCapabilities
  • class Esri::ArcGISRuntime::OfflineMapUpdateCapabilities

    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

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close