IFloorSelector

interface IFloorSelector

Author

Jose J Varó - Copyright © 2017 MapsPeople A/S. All rights reserved.

Deprecated

Use FloorSelectorInterface

Functions

Link copied to clipboard
abstract fun addToView(@NonNull view: ViewGroup)
Add the floor selector view to a parent view, e.g.
Link copied to clipboard
abstract fun getCurrentFloorIndex(): Int
Gets the current floorIndex
Link copied to clipboard
abstract fun isAutoFloorChangeEnabled(): Boolean
Link copied to clipboard
abstract fun isAutoPopulateEnabled(): Boolean
Link copied to clipboard
abstract fun isVisible(): Boolean
Gets the floor selector visibility state
Link copied to clipboard
abstract fun onMapZoomLevelChanged(zoomLevel: Float)
Link copied to clipboard
abstract fun populateList(@Nullable building: Building)
Creates the floor selector buttons based on a single building.
Link copied to clipboard
abstract fun setFloor(floorIndex: Int)
Sets the current floorIndex and makes the corresponding button active.
Link copied to clipboard
abstract fun setOnFloorSelectedListener(@Nullable callback: OnFloorSelectedListener)
Register a floor select event listener
Link copied to clipboard
abstract fun setUserLocationFloor(floorIndex: Int)
Sets the current user location's floor Use this method if the position provider can "provide" the floor info along the user's position
Link copied to clipboard
abstract fun show(show: Boolean, animate: Boolean)
Shows/hides the floor selector