ArcGIS Runtime SDK for iOS: AGSSyncGeodatabaseParameters Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSSyncGeodatabaseParameters Class Reference

Description

Parameters to synchronize data of a sync-enabled geodatabase.

Instances of this class represent parameters that are used with syncJobWithParameters:geodatabase: (AGSGeodatabaseSyncTask) to synchronize the data of a sync-enabled geodatabase with its originating ArcGIS Feature services.

Note
Consider using the convenience method AGSGeodatabaseSyncTask::getDefaultSyncGeodatabaseParametersForGeodatabase:completion: to get a properly initialized instance of this class which takes into account the capabilities supported by the ArcGIS Feature service and how the geodatabase was configured when it was generated.
Since
100
See also
AGSGeodatabaseSyncTask to synchronize the geodatabase
AGSGeodatabase for edit and query operations suppported by the geodatabase
Inheritance diagram for AGSSyncGeodatabaseParameters:
AGSObject

Instance Methods

(instancetype) - init
 

Class Methods

(instancetype) + syncGeodatabaseParameters
 

Properties

AGSSyncDirection geodatabaseSyncDirection
 
NSArray< AGSSyncLayerOption * > * layerOptions
 
BOOL rollbackOnFailure
 

Method Documentation

§ init()

- (instancetype) init

§ syncGeodatabaseParameters()

+ (instancetype) syncGeodatabaseParameters

Property Documentation

§ geodatabaseSyncDirection

- (AGSSyncDirection) geodatabaseSyncDirection
readwritenonatomicassign

Specifies the direction in which the entire geodatabase must sync changes with the service. Only applicable if the geodatabase uses a sync model of AGSSyncModelGeodatabase. Otherwise, use layerOptions

Since
100

§ layerOptions

- (NSArray<AGSSyncLayerOption*>*) layerOptions
readwritenonatomiccopy

Options specifying the direction in which individual layers in the geodatabase must sync changes with the service. Not all layers need to be included in the sync operation. Some of them can be excluded by leaving them out of this list.

Only applicable if the geodatabase uses a sync model of AGSSyncModelLayer. Otherwise, use geodatabaseSyncDirection

Since
100

§ rollbackOnFailure

- (BOOL) rollbackOnFailure
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.

Note
It only applies to edits uploaded by the client to the server. Does not apply to edits imported by client.
Since
100