OfflineMapSyncLayerResult Class

  • OfflineMapSyncLayerResult
  • class Esri::ArcGISRuntime::OfflineMapSyncLayerResult

    The result of an OfflineMapSyncJob for a single feature layer or table. More...

    Header: #include <OfflineMapSyncLayerResult.h>
    Since: Esri::ArcGISRuntime 100.1
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~OfflineMapSyncLayerResult() override
    QList<Esri::ArcGISRuntime::FeatureEditResult *> editErrors(QObject *parent = nullptr) const
    Esri::ArcGISRuntime::Error error() const
    bool hasErrors() const

    Detailed Description

    When the job completes, hasErrors indicates whether any errors were incurred during the synchronization of an individual layer or table. You can examine the error to investigate general synchronization problems. In addition, explore the editErrors collection to determine whether a server-side error ocurred with an individual feature edit during synchronization.

    Member Function Documentation

    [override virtual] OfflineMapSyncLayerResult::~OfflineMapSyncLayerResult()

    Destructor.

    QList<Esri::ArcGISRuntime::FeatureEditResult *> OfflineMapSyncLayerResult::editErrors(QObject *parent = nullptr) const

    Returns the edit errors for a layer.

    • parent - A parent object that will manage the lifetime of the objects returned from this method.

    The layer results returned contain information about row edit errors that occur on the server during the synchronization of a feature layer or table. Server-side errors of this kind are infrequent, so this array is typically empty.

    Esri::ArcGISRuntime::Error OfflineMapSyncLayerResult::error() const

    Returns an error if the layer or table could not be synchronized, otherwise returns empty.

    bool OfflineMapSyncLayerResult::hasErrors() const

    Returns true if an error has been encountered synchronizing this layer or table, false otherwise.

    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