SyncLayerResult Class

  • SyncLayerResult
  • class Esri::ArcGISRuntime::SyncLayerResult

    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 <SyncLayerResult.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

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

    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] 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.

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