geodatabaseSyncDirection property

SyncDirection geodatabaseSyncDirection

The synchronization direction that will be used when synchronizing the geodatabase.

This is only used if the Geodatabase has a sync model of SyncModel.geodatabase, it is ignored for SyncModel.layer.

Implementation

SyncDirection get geodatabaseSyncDirection {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_SyncGeodatabaseParameters_getGeodatabaseSyncDirection(
      _handle,
      errorHandler,
    );
  });
  return SyncDirection._fromCoreValue(
    coreValue,
  );
}
void geodatabaseSyncDirection=(SyncDirection value)

Implementation

set geodatabaseSyncDirection(SyncDirection value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_SyncGeodatabaseParameters_setGeodatabaseSyncDirection(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}