preplannedScheduledUpdatesOption property

PreplannedScheduledUpdatesOption preplannedScheduledUpdatesOption

Determines whether update packages will be downloaded from an online map area and applied to the map's data.

If your map was taken offline with a DownloadPreplannedOfflineMapParameters.updateMode of PreplannedUpdateMode.downloadScheduledUpdates or PreplannedUpdateMode.downloadScheduledUpdatesAndUploadNewFeatures, you can set this property to PreplannedScheduledUpdatesOption.downloadAllUpdates to download and apply update packages to your offline geodatabases.

The default value is PreplannedScheduledUpdatesOption.downloadAllUpdates.

Implementation

PreplannedScheduledUpdatesOption get preplannedScheduledUpdatesOption {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OfflineMapSyncParameters_getPreplannedScheduledUpdatesOption(
      _handle,
      errorHandler,
    );
  });
  return PreplannedScheduledUpdatesOption._fromCoreValue(
    coreValue,
  );
}
void preplannedScheduledUpdatesOption=(PreplannedScheduledUpdatesOption value)

Implementation

set preplannedScheduledUpdatesOption(PreplannedScheduledUpdatesOption value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore
        .RT_OfflineMapSyncParameters_setPreplannedScheduledUpdatesOption(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}