OfflineMapSyncJob Class

  • OfflineMapSyncJob
  • class Esri::ArcGISRuntime::OfflineMapSyncJob

    A job to synchronize an offline map's geodatabases with their originating services. More...

    Header: #include <OfflineMapSyncJob.h>
    Since: Esri::ArcGISRuntime 100.1
    Inherits: Esri::ArcGISRuntime::Job

    Public Functions

    virtual ~OfflineMapSyncJob() override
    QList<Esri::ArcGISRuntime::GeodatabaseDeltaInfo *> geodatabaseDeltaInfos() const
    Esri::ArcGISRuntime::OfflineMapSyncParameters parameters() const
    Esri::ArcGISRuntime::OfflineMapSyncResult *result() const

    Detailed Description

    Note that if this job is to be serialized to JSON, its map needs to be loaded first. An attempt to serialize with a not loaded map will throw an ErrorType::MappingNotLoaded error.

    Member Function Documentation

    [override virtual] OfflineMapSyncJob::~OfflineMapSyncJob()

    Destructor.

    [since Esri::ArcGISRuntime 100.10] QList<Esri::ArcGISRuntime::GeodatabaseDeltaInfo *> OfflineMapSyncJob::geodatabaseDeltaInfos() const

    Returns information on upload and download delta geodatabases generated during the sync process (read-only).

    Contains a collection of GeodatabaseDeltaInfo with one for each geodatabase synced. These provide information about the synced geodatabase along with the paths to its uploaded and downloaded deltas.

    Delta geodatabases allow you to troubleshoot sync problems - for example by inspecting the changes they contain or sending the file to the system administrator for the feature service.

    This collection will be updated even if the job fails and there are deltas on disk. This collection will only be updated if OfflineMapSyncParameters::isKeepGeodatabaseDeltas is true, otherwise it will remain empty.

    This function was introduced in Esri::ArcGISRuntime 100.10.

    [since Esri::ArcGISRuntime 100.2] Esri::ArcGISRuntime::OfflineMapSyncParameters OfflineMapSyncJob::parameters() const

    Returns the parameters used to create this OfflineMapSyncJob.

    This function was introduced in Esri::ArcGISRuntime 100.2.

    Esri::ArcGISRuntime::OfflineMapSyncResult *OfflineMapSyncJob::result() const

    The result of this OfflineMapSyncJob.

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