keepGeodatabaseDeltas property

bool keepGeodatabaseDeltas

Indicates whether or not the upload or downloaded delta geodatabases should 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 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.

There are two types of delta geodatabase:

  • Local edits, performed on the user's device, are exported as an "upload" delta that is applied to the originating feature service
  • Online edits, performed by other users are requested as a "download" delta which is then applied to the local replica geodatabase

Delta geodatabases allow you to troubleshoot sync problems. For example, you can inspect the geodatabase changes or you could send the file to the administrator of the feature service.

You can choose to retain both the uploaded and downloaded delta geodatabases once the sync job has completed. Set to true to retain both delta geodatabases and set to false to have them deleted at the end of the sync job. Deltas will be retained regardless of whether the job succeeds or fails. Note that when this property is set to true, the upload delta geodatabase will only be available if there are changes to upload and the sync direction is SyncDirection.upload or SyncDirection.bidirectional. The download delta geodatabase will only be available when there are changes to download and the sync direction is SyncDirection.download or SyncDirection.bidirectional. The default value is false.

No geodatabase deltas will be retained if your geodatabase uses a scheduled updates workflow.

Implementation

bool get keepGeodatabaseDeltas {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_OfflineMapSyncParameters_getKeepGeodatabaseDeltas(
        _handle, errorHandler);
  });
}
void keepGeodatabaseDeltas=(bool value)

Implementation

set keepGeodatabaseDeltas(bool value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_OfflineMapSyncParameters_setKeepGeodatabaseDeltas(
        _handle, value, errorHandler);
  });
}