Class OfflineMapSyncLayerResult
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.offlinemap.OfflineMapSyncLayerResult
-
public final class OfflineMapSyncLayerResult extends Object
Represents the result of an OfflineMapSyncJob for a single layer or table.- Since:
- 100.1.0
- See Also:
OfflineMapSyncJob
,OfflineMapSyncResult.getLayerResults()
,OfflineMapSyncResult.getTableResults()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FeatureEditResult>
getEditErrors()
Gets the edit errors for this layer or table.ArcGISRuntimeException
getError()
Gets the error if a general error occurred when synchronizing this layer or table.boolean
hasErrors()
Indicates if any error (general error or edit errors) occurred when synchronising this layer or table.
-
-
-
Method Detail
-
hasErrors
public boolean hasErrors()
Indicates if any error (general error or edit errors) occurred when synchronising this layer or table.- Returns:
- true if any error occurred synchronising this layer or table, false otherwise
- Since:
- 100.1.0
-
getEditErrors
public List<FeatureEditResult> getEditErrors()
Gets the edit errors for this layer or table. The edit results returned contain information about row edit errors that occur on the server during the synchronization of a feature layer.- Returns:
- an unmodifiable list of FeatureEditResults
- Since:
- 100.1.0
-
getError
public ArcGISRuntimeException getError()
Gets the error if a general error occurred when synchronizing this layer or table.- Returns:
- an ArcGISRuntimeException representing the error if synchronization failed, or null if synchronization was completed
- Since:
- 100.1.0
-
-