BuildingViewModel

Constructors

Link copied to clipboard
constructor(@NonNull application: Application, propertyId: Int, mapUiApi: MapUiApi)

Functions

Link copied to clipboard
fun addCloseable(key: String, closeable: AutoCloseable)
Link copied to clipboard
open fun createProvider(application: Application, propertyId: Int, sdk: MapUiApi): ViewModelProvider.Factory
Link copied to clipboard
open fun fetchBuildingsInfoMap(coreApi: CoreApi, savedEntitiesRepository: SavedEntitiesRepository, propertyId: Int): List<Building>
Link copied to clipboard
open fun <T : Application?> getApplication(): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCoreApi(): CoreApi
Link copied to clipboard
Link copied to clipboard
open fun getMapApi(): MapApi
Link copied to clipboard
open fun getMapUiApi(): MapUiApi
Link copied to clipboard
Link copied to clipboard
open fun goIndoorMode()
Link copied to clipboard
open fun goOutdoorMode()
Link copied to clipboard
open fun init()
Link copied to clipboard
Link copied to clipboard
open fun selectProperty(propertyId: Int, onMapDataSelectedListener: MapApi.PlotListener)
Link copied to clipboard
open fun setBuildingAsFavorite(propertyId: Int, buildingId: Int, buildingName: String, isChecked: Boolean)