ArcGIS Developers

SyncLayerResult Class

class Esri::ArcGISRuntime::SyncLayerResult

Result of a sync performed with GeodatabaseSyncTask. More...

Header: #include <SyncLayerResult>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

virtual ~SyncLayerResult() override
QList<Esri::ArcGISRuntime::FeatureEditResult *> editResults(QObject *parent) const
qint64 layerId() const
QString tableName() const

Detailed Description

Member Function Documentation

[override virtual] SyncLayerResult::~SyncLayerResult()


QList<Esri::ArcGISRuntime::FeatureEditResult *> SyncLayerResult::editResults(QObject *parent) const

Returns the result of edits applied during the sync operation.

  • parent - The parent object to assign to the FeatureEditResult objects in the list (optional).

If the server encounters an error applying an edit, this error is reported as a FeatureEditResult. Only errors are reported. FeatureEditResults of a sync operation do not contain information about successfully synced adds, deletes, or updates.

If no parent object is specified, the returned SyncLayerResult will be the parent.

qint64 SyncLayerResult::layerId() const

Returns the ID of the feature service layer or table that this result applies to.

Same ID type as ArcGISFeatureLayerInfo::serviceLayerId and Layer::layerId.

QString SyncLayerResult::tableName() const

Returns the name of the geodatabase table that this result applies to.

Feedback on this topic?