getAvailableVersions

Retrieves the list of available tileset versions from the server.

Return

Cancelable operation that can be cancelled

Parameters

callback

Callback to receive the result containing available versions


abstract suspend fun getAvailableVersions(): Expected<Throwable, List<TilesetVersion>>

Retrieves the list of available tileset versions from the server.

Return

Expected containing either the list of available versions or an error