GeodatabaseDeltaInfo

Represents the delta files created to synchronize changes to a com.arcgismaps.data.Geodatabase. 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.

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.

To access the GeodatabaseDeltaInfo after a sync has completed, set one of the following properties to true:

Since

200.1.0

Properties

Link copied to clipboard

The full file path of the downloaded delta file, including the file name and extension. This property is the full path to the download delta geodatabase downloaded from the server during a bidirectional or download sync. The file will be saved to the user's temp directory and will be subject to the system's policy for cleanup of temporary files. This property will be null if there were no server changes to download or the sync direction is SyncDirection.Upload.

Link copied to clipboard

The feature service that is used to sync changes to the geodatabase specified by GeodatabaseDeltaInfo.geodatabasePath.

Link copied to clipboard

The file path to the com.arcgismaps.data.Geodatabase that is used to sync changes, including the file name and extension. The path refers to a .geodatabase file that is used to sync changes to the service specified by GeodatabaseDeltaInfo.featureServiceUrl. Each sync process can create an "upload" delta file (GeodatabaseDeltaInfo.uploadDeltaPath) and/or a "download" delta file (GeodatabaseDeltaInfo.downloadDeltaPath).

Link copied to clipboard

The full file path of the generated upload delta file, including the file name and extension. This property is the full path to the upload delta geodatabase created from the local com.arcgismaps.data.Geodatabase during a bidirectional or upload sync. The file will be saved to the user's temp directory and will be subject to the system's policy for cleanup of temporary files. This property will be null if there were no changes to upload or the sync direction is SyncDirection.Download only.