createSyncGeodatabaseJob

fun createSyncGeodatabaseJob(syncDirection: SyncDirection, rollbackOnFailure: Boolean, geodatabase: Geodatabase): SyncGeodatabaseJob

Returns a job to synchronize a geodatabase back to its source ArcGIS feature service using the specified sync direction and rollback on failure boolean value. If the given sync direction is not compatible with the geodatabase sync task's feature service, the returned job will fail.

You should not execute more than one sync on a particular geodatabase at the same time. This includes any operations that export or import deltas from the local com.arcgismaps.data.Geodatabase, which are:

Return

A job to synchronize a geodatabase.

Since

200.1.0

Parameters

syncDirection

Sync direction to use when syncing the geodatabase.

rollbackOnFailure

True to rollback all changes to the service and/or the geodatabase if the job fails, false to accept any of the changes up until the point when the job fails.

geodatabase

The geodatabase to sync.


Returns a job to synchronize a geodatabase back to its source ArcGIS feature service. For a successfully completed job the job's result returns an array of SyncLayerResult, typically the array is empty. If individual edits failed then the result array provides these errors grouped by each table using SyncLayerResult instances which in turn contain each edit error.

You should not execute more than one sync on a particular geodatabase at the same time. This includes any operations that export or import deltas from the local com.arcgismaps.data.Geodatabase, which are:

Return

A job to synchronize a geodatabase.

Since

200.1.0

Parameters

parameters

Parameters to use to sync the geodatabase.

geodatabase

The geodatabase to sync.