Class SyncLayerResult

java.lang.Object
com.esri.arcgisruntime.tasks.geodatabase.SyncLayerResult

public final class SyncLayerResult extends Object
Represents the result of a synchronize operation from a SyncGeodatabaseJob for a single table in a geodatabase initiated by GeodatabaseSyncTask.syncGeodatabase(SyncGeodatabaseParameters, Geodatabase).

Only errors are reported; the results of a synchronize operation do not contain information about successful adds, deletes, or updates.

Since:
100.0.0
See Also:
  • Method Details

    • getEditResults

      public List<FeatureEditResult> getEditResults()
      Gets a list of errors from edits made to the table this SyncLayerResult relates to.

      If the server has an error applying an edit, this is returned as a FeatureEditResult. Only errors are reported; the feature edit results of a synchronize operation do not contain information about successful adds, deletes, or updates.

      Returns:
      an unmodifiable list of FeatureEditResult objects
      Since:
      100.0.0
    • getLayerId

      public long getLayerId()
      Gets the ID of the layer in the feature service this SyncLayerResult applies to. This is the same as ArcGISFeatureLayerInfo.getServiceLayerId()
      Returns:
      the layer ID
      Since:
      100.0.0
    • getTableName

      public String getTableName()
      Gets the name of the table in the geodatabase this SyncLayerResult applies to. This is the same as FeatureTable.getTableName()
      Returns:
      the table name
      Since:
      100.0.0