downloadAndCache

abstract fun downloadAndCache(buildingId: Int, callback: Consumer<BuildingData>)

Get BuildingData from core library based on its building id.

Note: This function should be called on a background thread.

Parameters

buildingId

The stored building's building id.

callback

callback