syncDirection property

SyncDirection get syncDirection

The synchronization direction for geodatabases registered with feature services.

This property applies to any geodatabases that are registered for feature service synchronization. It does not apply to geodatabases which use scheduled updates.

The default value is SyncDirection.bidirectional.

If you select SyncDirection.upload, any download only geodatabases (For example, with FeatureServiceCapabilities.supportsUpdate = false) will not be updated and you will receive an ArcGISExceptionType.mappingSyncDirectionUploadNotSupported error in the associated OfflineMapSyncResult.layerResults.

set syncDirection (SyncDirection value)