SyncGeodatabaseJob Class

Job that synchronizes changes to a local geodatabase back to a feature service."> SyncGeodatabaseJob Class | ArcGISQtCpp
  • SyncGeodatabaseJob
  • class Esri::ArcGISRuntime::SyncGeodatabaseJob

    A Job that synchronizes changes to a local geodatabase back to a feature service. More...

    Header: #include <SyncGeodatabaseJob.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Job

    Public Functions

    virtual ~SyncGeodatabaseJob() override
    Esri::ArcGISRuntime::GeodatabaseDeltaInfo *geodatabaseDeltaInfo() const
    QList<Esri::ArcGISRuntime::SyncLayerResult *> result() const

    Detailed Description

    This job is returned by the GeodatabaseSyncTask::syncGeodatabase method.

    The result of this job is a list of SyncLayerResult objects, each of which contains the layer ID or table name that each SyncLayerResult refers to. The result can be retrieved after this job's status changes to JobStatus::Succeeded. This list will be empty for a successfully completed job. If individual edits failed then the result array provides these errors grouped by each table using the SyncLayerResult instances. These contain information for each edit error as a FeatureEditResult.

    See also GenerateGeodatabaseJob.

    Member Function Documentation

    [override virtual] SyncGeodatabaseJob::~SyncGeodatabaseJob()

    Destructor.

    [since Esri::ArcGISRuntime 100.10] Esri::ArcGISRuntime::GeodatabaseDeltaInfo *SyncGeodatabaseJob::geodatabaseDeltaInfo() const

    Returns information on geodatabase upload and download delta files.

    When SyncGeodatabaseParameters::isKeepGeodatabaseDeltas is set to true, this property provides 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 property will be set even if the job fails. If SyncGeodatabaseParameters::isKeepGeodatabaseDeltas is false, this property will be nullptr.

    This function was introduced in Esri::ArcGISRuntime 100.10.

    QList<Esri::ArcGISRuntime::SyncLayerResult *> SyncGeodatabaseJob::result() const

    Returns the list of SyncLayerResult objects from this job.

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