syncDirection property
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.
Implementation
SyncDirection get syncDirection {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_OfflineMapSyncParameters_getSyncDirection(
_handle,
errorHandler,
);
});
return SyncDirection._fromCoreValue(
coreValue,
);
}
Implementation
set syncDirection(SyncDirection value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_OfflineMapSyncParameters_setSyncDirection(
_handle,
value.coreValue,
errorHandler,
);
});
}