updateTilesGroup

abstract fun updateTilesGroup(groupId: String, executor: Executor, progressCallback: TileRegionLoadProgressCallback, completionCallback: CompletionCallback<List<OfflineTileRegion>>): AsyncOperationTask

Updates the existing group of tiles.

Call to this function will be postponed until engine is ready (i.e. any of EngineReadyCallback callbacks called).

Return

an object representing pending completion of the task.

Parameters

groupId

Tile region group ID.

executor

Executor used for events dispatching. By default events are dispatched on the main thread.

progressCallback

The callback to be invoked multiple times to report progress of the loading operation.

completionCallback

The callback to be invoked only once upon success or failure of the loading operation.

open fun updateTilesGroup(groupId: String, progressCallback: TileRegionLoadProgressCallback, completionCallback: CompletionCallback<List<OfflineTileRegion>>): AsyncOperationTask

Updates the existing group of tiles.

Call to this function will be postponed until engine is ready (i.e. any of EngineReadyCallback callbacks called).

Return

an object representing pending completion of the task.

Parameters

groupId

Tile region group ID.

progressCallback

The callback to be invoked on the main thread multiple times to report progress of the loading operation.

completionCallback

The callback to be invoked on the main thread only once upon success or failure of the loading operation.