getTileRegions

abstract fun getTileRegions(executor: Executor, callback: CompletionCallback<List<OfflineTileRegion>>): AsyncOperationTask

Returns a list of previously downloaded tile regions.

Return

an object representing pending completion of the task.

Parameters

executor

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

callback

The callback to be invoked when the offline regions loaded.

open fun getTileRegions(callback: CompletionCallback<List<OfflineTileRegion>>): AsyncOperationTask

Returns a list of previously downloaded tile regions.

Return

an object representing pending completion of the task.

Parameters

callback

The callback to be invoked on the main thread when the offline regions loaded.