InnerFloor
data class InnerFloor(val index: Long, val baseFloor: String? = null, val defaultFloor: Boolean = false, val floorName: String? = null, var floorMultilanguage: Multilanguage? = null, val vectorTile: Boolean = false, val level: Int = 0, val reachableFromGPS: Boolean = false, val polygons: List<String>? = null) : SerializableRepresents a floor level within a multi-story building in the Lazarillo platform.
Each InnerFloor corresponds to a single floor inside a parent SdkPlace and contains metadata such as its display name (with multilanguage support), vertical index, level number, and whether it is reachable from GPS (e.g., ground-level entrances). Floor plans can be associated with vector tiles, and polygon boundaries can define the floor’s geographic extent.
Constructors
InnerFloor | constructor(index: Long , baseFloor: String ? = null, defaultFloor: Boolean = false, floorName: String ? = null, floorMultilanguage: Multilanguage? = null, vectorTile: Boolean = false, level: Int = 0, reachableFromGPS: Boolean = false, polygons: List <String >? = null) |
Types
| Name | Summary |
|---|---|
Dict | class Dict : HashMap <String , InnerFloor> |
Properties
baseFloor
val baseFloor: String? = nullIdentifier of the base (ground) floor for this building, or null if unset.
defaultFloor
val defaultFloor: Boolean = falseWhether this floor should be selected by default when the building is loaded.
floorMultilanguage
var floorMultilanguage: Multilanguage?Types: Multilanguage
Multilanguage floor name that supports localized display.
floorName
val floorName: String? = nullLegacy plain-text floor name. Use floorMultilanguage instead for localized names.
id
var id: StringUnique identifier assigned by Firebase to identify this floor in the real-time database. This field is set after deserialization because the ID is not included in the inner floor payload.
index
val index: LongOrdinal index used for ordering floors in the UI.
level
val level: Int = 0Numeric level of this floor (e.g., 0 for ground, 1 for first floor, -1 for basement).
polygons
val polygons: List<String>? = nullEncoded polyline strings defining the geographic boundary of this floor.
reachableFromGPS
val reachableFromGPS: Boolean = falseWhether this floor can be reached directly from an outdoor GPS position.
vectorTile
val vectorTile: Boolean = falseWhether this floor uses vector tile rendering instead of raster overlays.
Functions
getTargetFloorName
fun getTargetFloorName(): String?Returns the localized floor name if available, falling back to the legacy floorName. The floorMultilanguage field is intended to replace floorName to support multiple languages.
toString
open override fun toString(): String