Skip to Content

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) : Serializable

Represents 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

InnerFloorconstructor(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

NameSummary
Dictclass Dict : HashMap <String , InnerFloor>

Properties

baseFloor

val baseFloor: String? = null

Identifier of the base (ground) floor for this building, or null if unset.

defaultFloor

val defaultFloor: Boolean = false

Whether 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? = null

Legacy plain-text floor name. Use floorMultilanguage instead for localized names.

id

var id: String

Unique 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: Long

Ordinal index used for ordering floors in the UI.

level

val level: Int = 0

Numeric level of this floor (e.g., 0 for ground, 1 for first floor, -1 for basement).

polygons

val polygons: List<String>? = null

Encoded polyline strings defining the geographic boundary of this floor.

reachableFromGPS

val reachableFromGPS: Boolean = false

Whether this floor can be reached directly from an outdoor GPS position.

vectorTile

val vectorTile: Boolean = false

Whether 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
Last updated on