java.lang.Object
com.esri.arcgisruntime.data.EditResult
- Direct Known Subclasses:
FeatureEditResult
Represents the result of an attempt to push an update to a service,
such as after applying edits to a service by calling
ServiceFeatureTable.applyEditsAsync()
or syncing results for a table in a geodatabase from a
SyncGeodatabaseJob
.- Since:
- 100.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Represents the different types of edit operations onServiceFeatureTable
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the type of edit operation.getError()
Gets the error if the operation failed.Gets the globalId of the Feature.long
Gets the ObjectId of the Feature.boolean
Returns true if there are any errors associated with the edit operation, including its attachments.
-
Method Details
-
hasCompletedWithErrors
public boolean hasCompletedWithErrors()Returns true if there are any errors associated with the edit operation, including its attachments.- Returns:
- true if there are errors, otherwise false
- Since:
- 100.0.0
-
getObjectId
public long getObjectId()Gets the ObjectId of the Feature.- Returns:
- the ObjectId of the feature
- Since:
- 100.0.0
-
getGlobalId
Gets the globalId of the Feature.- Returns:
- the globalId of the feature
- Since:
- 100.0.0
-
getError
Gets the error if the operation failed. This could be for the feature or its attachments.- Returns:
- an ArcGISRuntimeException representing the error that occurred when applying a feature or attachment edit
- Since:
- 100.0.0
-
getEditOperation
Returns the type of edit operation.- Returns:
- the type of the edit operation
- Since:
- 100.0.0
-