Sync Geodatabase Parameters
The parameters that specify how a geodatabase is synchronized with its ArcGIS feature service using a SyncGeodatabaseJob. To generate default parameters that match the geodatabase and its ArcGIS feature service, call GeodatabaseSyncTask.createDefaultSyncGeodatabaseParameters. You can then modify the parameters with any desired changes. Alternatively, you can generate an empty set of parameters using SyncGeodatabaseParameters.SyncGeodatabaseParameters and set the parameters individually. To create a SyncGeodatabaseJob, pass the parameters to the GeodatabaseSyncTask.createSyncGeodatabaseJob method and provide the geodatabase to be synchronized.
Since
200.1.0
Constructors
Properties
The synchronization direction that will be used when synchronizing the geodatabase. This is only used if the Geodatabase has a sync model of SyncModel.Geodatabase, it is ignored for SyncModel.Layer.
Indicates whether or not the upload or downloaded server delta geodatabases will be removed at the end of the sync job. A delta geodatabase is a file that contains the changes that have occurred since a mobile replica com.arcgismaps.data.Geodatabase was last synchronized with its feature service. See [https://developers.arcgis.com/rest/services-reference/enterprise/synchronize-replica.htm] for an overview of the delta files used in synchronization.
The list of sync layer options to include in the sync operation.
True if replica branch version automatically reconciles with the default branch upon sync, false otherwise. This parameter is supported by feature services that have the com.arcgismaps.arcgisservices.SyncCapabilities.supportsBranchVersionReconcile property set to true.
Indicates if a sync should roll back on a failure.