importDelta

suspend fun importDelta(geodatabase: Geodatabase, inputPath: String): Result<List<SyncLayerResult>>

Imports a geodatabase delta and applies it to the given geodatabase. A delta geodatabase contains the changes that have occurred since a mobile replica com.arcgismaps.data.Geodatabase was last-synchronized with the feature service. See Synchronize Replica for an overview of the delta files used in synchronization. A "download" delta geodatabase contains the online edits that will be imported to the local geodatabase.

The task returned by this method returns an array of SyncLayerResult.

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 com.arcgismaps.data.Geodatabase, which are:

Return

A task that imports a geodatabase delta and has an element type of List. The array elements are of type SyncLayerResult.

Since

200.1.0

Parameters

geodatabase

The geodatabase to apply a delta to.

inputPath

The path and filename to import the delta from.