Skip To Content ArcGIS for Developers Sign In Dashboard

GeodatabaseSyncTaskUtility QML Type

A utility that contains methods to sync a sync-enabled mobile geodatabase. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.3





Detailed Description

Use this singleton type to access helper methods that can be used in conjunction with a GeodatabaseSyncTask.

Note: You cannot declare or create a component of this type in QML code. Rather, an instance is automatically created and only that single instance is available for use in the application.

See also Cancelable.

Property Documentation

importGeodatabaseDeltaResults : list<SyncLayerResult>

Returns the list of SyncLayerResult objects that are the result of importing a geodatabase delta (read-only).

importGeodatabaseDeltaStatus : Enums.TaskStatus

Returns the current status of the importGeodatabaseDelta method (read-only).

See also Enums.TaskStatus.

Signal Documentation


Emitted when the importGeodatabaseDeltaStatus property of this GeodatabaseSyncTaskUtility changes.

Note: The corresponding handler is onImportGeodatabaseDeltaStatusChanged.

Method Documentation

bool cancelTask(taskId)

Cancel the task with the ID taskId.

Returns false if the task cannot be cancelled or there is no task with the specified id taskId.

See also Cancelable.

string importGeodatabaseDelta(geodatabase, string pathToDeltaFile)

Starts a task to import a geodatabase delta and applies it to the given geodatabase.

  • geodatabase - The mobile geodatabase to apply the import to.
  • pathToDeltaFile - The path to delta file on the local file system to import the delta from.

Returns the task ID for the new task.

Feedback on this topic?