syncOfflineMap method
- {required OfflineMapSyncParameters parameters}
Returns a job to synchronize an offline map's geodatabases with their originating services.
You should not execute more than one sync on a particular geodatabase at the same time. This includes any operations that export or import deltas from the local Geodatabase:
- GeodatabaseSyncTask.exportDelta
- GeodatabaseSyncTask.importDelta
- SyncGeodatabaseJob
- OfflineMapSyncJob
Parameters:
parameters
— Parameters controlling the offline map synchronization.
Return Value: A GenerateOfflineMapJob.
Implementation
OfflineMapSyncJob syncOfflineMap(
{required OfflineMapSyncParameters parameters}) {
final objectHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_OfflineMapSyncTask_syncOfflineMap(
_handle, parameters._handle, errorHandler);
});
return OfflineMapSyncJob._fromHandle(objectHandle)!;
}