An object that represents the result of sync operation on a table or layer if there has been edit errors with individual features. More...
Header | #include <Sync |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Q | edit |
qint64 | layer |
Q | table |
Detailed Description
If the server has an error applying an edit, this is returned as FeatureEditResult error. Only errors are reported, the feature edit results of a sync operation do not contain information about successful adds, deletes or updates.
Member Function Documentation
[override virtual noexcept]
SyncLayerResult::~SyncLayerResult ()
Destructor.
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 layer or table Id.
If there's an error the return value is -1.
QString SyncLayerResult::tableName () const
Returns the table name for the sync result.