updateMode property

GenerateOfflineMapUpdateMode updateMode

Describes how the offline map will support synchronization with online services.

A value of GenerateOfflineMapUpdateMode.syncWithFeatureServices instructs the GenerateOfflineMapJob to create offline geodatabases that support syncing with online feature services.

A value of GenerateOfflineMapUpdateMode.noUpdates instructs the GenerateOfflineMapJob to disable data synchronization for generated offline geodatabases. In this case, no synchronization replicas will be created on corresponding feature services. This reduces the load on the feature server and frees the developer from needing to unregister server replicas when they are no longer needed.

The default value is GenerateOfflineMapUpdateMode.syncWithFeatureServices.

If GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides this property is superseded by the GenerateGeodatabaseParameters.syncModel property of the overridden layer.

Implementation

GenerateOfflineMapUpdateMode get updateMode {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GenerateOfflineMapParameters_getUpdateMode(
      _handle,
      errorHandler,
    );
  });
  return GenerateOfflineMapUpdateMode._fromCoreValue(
    coreValue,
  );
}
void updateMode=(GenerateOfflineMapUpdateMode value)

Implementation

set updateMode(GenerateOfflineMapUpdateMode value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_GenerateOfflineMapParameters_setUpdateMode(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}