createDefaultSyncGeodatabaseParameters method

Future<SyncGeodatabaseParameters> createDefaultSyncGeodatabaseParameters(
  1. Geodatabase geodatabase
)

Creates default parameters to synchronize a geodatabase using the SyncGeodatabaseJob.

This populates the parameters with values that match the geodatabase sync task's feature service and the geodatabase. For a geodatabase with SyncModel.layer then all geodatabase layers will be included. If the service is read-only then the sync direction will be SyncDirection.download. Otherwise the sync direction will be SyncDirection.bidirectional.

Parameters:

  • geodatabase — a geodatabase to sync.

Return Value: The SyncGeodatabaseParameters with default values.