SyncLayerResult Class

  • SyncLayerResult
  • class Esri::ArcGISRuntime::SyncLayerResult

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

    Header: #include <SyncLayerResult.h>
    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()

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

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close