SyncGeodatabaseJob Class

  • SyncGeodatabaseJob
  • class Esri::ArcGISRuntime::SyncGeodatabaseJob

    A job returned by the GeodatabaseSyncTask::syncGeodatabase method. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

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

    Detailed Description

    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.

    Member Function Documentation

    [override virtual] SyncGeodatabaseJob::~SyncGeodatabaseJob()

    Destructor.

    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.