OfflineMapSyncLayerResult Class

  • OfflineMapSyncLayerResult
  • class Esri::ArcGISRuntime::OfflineMapSyncLayerResult

    The result of an OfflineMapSyncJob for a single 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

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

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

    The layer results returned contains information about row edit errors that occur on the server during the synchronization of a feature layer. 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 whether an error has been encountered synchronizing the layer or table.

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