EditResult Class

  • EditResult
  • class Esri::ArcGISRuntime::EditResult

    An object that represents the results of an attempt to push an update to a service. More...

    Header: #include <EditResult.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Object
    Inherited By:


    Public Functions

    virtual ~EditResult() override
    Esri::ArcGISRuntime::EditOperation editOperation() const
    Esri::ArcGISRuntime::EditResultType editResultType() const
    Esri::ArcGISRuntime::Error error() const
    QString globalId() const
    bool isCompletedWithErrors() const
    qint64 objectId() const

    Detailed Description

    Member Function Documentation

    [override virtual] EditResult::~EditResult()


    Esri::ArcGISRuntime::EditOperation EditResult::editOperation() const

    Returns the type of edit operation.

    Esri::ArcGISRuntime::EditResultType EditResult::editResultType() const

    Returns the type of edit result.

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

    Returns the error message if the operation failed.

    This could be for the feature or its attachments.

    QString EditResult::globalId() const

    Returns the global id of the row that was edited.

    When returned as a result of geodatabase sync (GeodatabaseSyncTask::syncGeodatabase(Esri::ArcGISRuntime::SyncDirection, bool, Esri::ArcGISRuntime::Geodatabase*, QObject*) then SyncGeodatabaseJob::result) in an SyncLayerResult this property may return an empty string indicating a more general error with features in this table rather than an error specific to a single feature edit.

    bool EditResult::isCompletedWithErrors() const

    Returns true if there are any errors associated with the edit operation, including its attachments.

    qint64 EditResult::objectId() const

    Returns the object ID of the Feature.

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