This class was introduced in Esri::ArcGISRuntime 100.10.
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 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
- SyncGeodatabaseParameters::isKeepGeodatabaseDeltas. This will populate the SyncGeodatabaseJob::geodatabaseDeltaInfo property.
- OfflineMapSyncParameters::isKeepGeodatabaseDeltas. This will add instances to the OfflineMapSyncJob::geodatabaseDeltaInfos property.
Member Function Documentation
Delta Info: : download Delta() const Path
Returns 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 empty if there were no server changes to download or the sync direction is SyncDirection::Upload.
Delta Info: : feature Service() const Url
Returns the feature service that is used to sync changes to the geodatabase specified by geodatabasePath.
Delta Info: : geodatabase Path() const
Returns the file path to the 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 featureServiceUrl. Each sync process can create an "upload" delta file (uploadDeltaPath) and/or a "download" delta file (downloadDeltaPath).
Delta Info: : upload Delta() const Path
Returns 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 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 an empty string if there were no changes to upload or the sync direction is SyncDirection::Download only.