|
ArcGIS Runtime SDK for iOS
100.9
|
Parameters to synchronize an offline map.
Instances of this class represent parameters that are used with offlineMapSyncJobWithParameters: (AGSOfflineMapSyncTask) to synchronize the data of feature layers and tables in an offline map with their originating ArcGIS Feature services.
AGSOfflineMapTask to take a map offline
Class Methods | |
| (instancetype) | + offlineMapSyncParameters |
Properties | |
| AGSPreplannedScheduledUpdatesOption | preplannedScheduledUpdatesOption |
| BOOL | rollbackOnFailure |
| AGSSyncDirection | syncDirection |
| + (instancetype) offlineMapSyncParameters |
|
readwritenonatomicassign |
Determines whether scheduled updates will be downloaded from an online map area and applied to the map's data. If the mobile geodatabases in your offline map were not registered for sync you can choose to download and apply those updates by setting this property to AGSPreplannedScheduledUpdatesOptionDownloadAllUpdates.
You specify whether an offline map will make use of scheduled updates by setting the AGSDownloadPreplannedOfflineMapParameters::updateMode property before downloading.
The default value is AGSPreplannedScheduledUpdatesOptionDownloadAllUpdates.
|
readwritenonatomicassign |
Specifies whether all edits are rolled back (not applied) if a failure occurs while importing edits on the server. Otherwise, failed edits are skipped and other edits still applied. The default is false (no rollback on failure).
|
readwritenonatomicassign |
The synchronization direction for geodatabases registered with feature services.
This property applies to any geodatabase that is registered for feature service synchronization. It does not apply to geodatabases which use scheduled updates.
The default value is AGSSyncDirectionBidirectional.
If you select AGSSyncDirectionUpload, any download-only geodatabases (e.g. with AGSFeatureServiceCapabilities::supportsUpdate = NO ) will not be updated and you will receive an AGSErrorCodeMappingSyncDirectionUploadNotSupported error in the associated AGSOfflineMapSyncResult::layerResults.