FloorSelectorInterface

interface FloorSelectorInterface

Author

Emil Siegenfeldt - Copyright © 2019 MapsPeople A/S. All rights reserved.

Functions

Link copied to clipboard
@Nullable
abstract fun getView(): View
Optional.
Link copied to clipboard
abstract fun isAutoFloorChangeEnabled(): Boolean
Should the floor change automatically when the user's location changes?
Link copied to clipboard
abstract fun setList(@Nullable floors: List<Floor>)
Sets a list of Floors to be shown in the FloorSelector
Link copied to clipboard
abstract fun setOnFloorSelectionChangedListener(@Nullable listener: OnFloorSelectionChangedListener)
Sets the Listener to be invoked when something changes from the FloorSelector view
Link copied to clipboard
abstract fun setSelectedFloor(@NonNull floor: Floor)
Sets the Floor selected
Link copied to clipboard
abstract fun setSelectedFloorByZIndex(zIndex: Int)
Selects a Floor by its Z index
Link copied to clipboard
abstract fun setUserPositionFloor(zIndex: Int)
Called whenever the user changes position.
Link copied to clipboard
abstract fun show(show: Boolean, animated: Boolean)
Shows or hides the FloorSelector
Link copied to clipboard
abstract fun zoomLevelChanged(newZoomLevel: Float)
Invoked when zoom level changes.