Map Loader
Class providing functionality to manage offline maps on the device.
ToDo: Update documentation!
Types
Functions
addMapProgressInstallListener
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
addMapResumedInstallDoneListener
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
callMethod
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> callMethod(clazz: Class<T>, callback: NativeMethodsReceiver.NativeCallback<T>)
Content copied to clipboard
checkForUpdates
Link copied to clipboard
clearCache
Link copied to clipboard
detectCurrentCountry
Link copied to clipboard
fun detectCurrentCountry(mapIso: String = "", listener: MapResultListener): MapLoader.Task
Content copied to clipboard
getAvailableCountries
Link copied to clipboard
fun getAvailableCountries(installed: Boolean, listener: MapListResultListener): MapLoader.Task
Content copied to clipboard
getCountryDetails
Link copied to clipboard
fun getCountryDetails(mapIso: String, installed: Boolean, listener: MapCountryDetailsListener)
Content copied to clipboard
getListeners
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> getListeners(clazz: Class<T>): MutableMap<T, Executor>
Content copied to clipboard
getMapStatus
Link copied to clipboard
getRegionDetails
Link copied to clipboard
fun getRegionDetails(mapIso: String, installed: Boolean, listener: MapRegionDetailsListener)
Content copied to clipboard
installMap
Link copied to clipboard
fun installMap(mapIso: String, listener: MapResultListener): MapLoader.Task
Content copied to clipboard
loadMap
Link copied to clipboard
loadMaps
Link copied to clipboard
register
Link copied to clipboard
removeMapProgressInstallListener
Link copied to clipboard
fun removeMapProgressInstallListener(listener: MapInstallProgressListener)
Content copied to clipboard
removeMapResumedInstallDoneListener
Link copied to clipboard
fun removeMapResumedInstallDoneListener(listener: MapResumedInstallDoneListener)
Content copied to clipboard
resumePendingInstallations
Link copied to clipboard
setLocale
Link copied to clipboard
uninstallMap
Link copied to clipboard
fun uninstallMap(mapIso: String, listener: MapResultListener): MapLoader.Task
Content copied to clipboard
unloadMap
Link copied to clipboard
unloadMaps
Link copied to clipboard
unregister
Link copied to clipboard
open fun <T : NativeMethodsReceiver.NativeListener> unregister(clazz: Class<T>, listener: T): Int
Content copied to clipboard
updateMap
Link copied to clipboard
fun updateMap(mapIso: String, listener: MapResultListener): MapLoader.Task
Content copied to clipboard