ArcGIS Runtime SDK for iOS: AGSGeodatabaseDeltaInfo Class Reference
ArcGIS Runtime SDK for iOS  100.12
AGSGeodatabaseDeltaInfo Class Reference

Description

Represents the delta files created to synchronize changes to an AGSGeodatabase object.

A delta geodatabase is a file that contains the changes that have occurred since a mobile replica AGSGeodatabase object 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 AGSGeodatabaseDeltaInfo after a sync has completed, set one of the following properties to YES:

Inheritance diagram for AGSGeodatabaseDeltaInfo:
AGSObject

Properties

NSURL * downloadDeltaFileURL
 
NSURL * featureServiceURL
 
NSURL * geodatabaseFileURL
 
NSURL * uploadDeltaFileURL
 

Property Documentation

◆ downloadDeltaFileURL

- (NSURL*) downloadDeltaFileURL
readnonatomicstrong

The full file URL of the downloaded delta file, including the file name and extension.

This property is the full URL 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 nil if there were no server changes to download or the sync direction is AGSSyncDirectionUpload.

Since
100.10

◆ featureServiceURL

- (NSURL*) featureServiceURL
readnonatomicstrong

The feature service that is used to sync changes to the geodatabase specified by AGSGeodatabaseDeltaInfo::geodatabaseFileURL.

Since
100.10

◆ geodatabaseFileURL

- (NSURL*) geodatabaseFileURL
readnonatomicstrong

The file URL to the AGSGeodatabase that is used to sync changes, including the file name and extension.

The URL refers to a .geodatabase file that is used to sync changes to the service specified by AGSGeodatabaseDeltaInfo::featureServiceURL. Each sync process can create an "upload" delta file (AGSGeodatabaseDeltaInfo::uploadDeltaFileURL) and/or a "download" delta file (AGSGeodatabaseDeltaInfo::downloadDeltaFileURL).

Since
100.10

◆ uploadDeltaFileURL

- (NSURL*) uploadDeltaFileURL
readnonatomicstrong

The full file URL of the generated upload delta file, including the file name and extension.

This property is the full URL to the upload delta geodatabase created from the local AGSGeodatabase 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 nil if there were no changes to upload or the sync direction is AGSSyncDirectionDownload only.

Since
100.10