MPBuilding

open class MPBuilding : MPEntity

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun getAliases(): Array<String>
Get aliases for the building
Link copied to clipboard
open fun getBoundingBox(): Array<Double>
Link copied to clipboard
fun getBoundingBoxAsArray(): Array<Double>
Get the building bounding box
Link copied to clipboard
open fun getBounds(): MPLatLngBounds
Link copied to clipboard
open fun getCoordinates(): Array<Array<Array<Double>>>
Link copied to clipboard
open fun getDefaultFloorIndex(): Int
Gets this building's default floor index, if any has been set from the CMS
Link copied to clipboard
open fun getField(@Nullable key: String): MPDataField
An optional space for misc fields
Link copied to clipboard
open fun getFloorByZIndex(index: Int): MPFloor
Link copied to clipboard
open fun getFloorCount(): Int
Get this building's floor count
Link copied to clipboard
open fun getFloorsIndexesNamesMap(): HashMap<Integer, String>
Get a list of floor indices and localized names for this building
Link copied to clipboard
open fun getInitFloor(): MPFloor
Get the initial floor.
Link copied to clipboard
open fun getInitFloorZIndex(): Int
Get the initial floor level index.
Link copied to clipboard
open fun getName(): String
Get the name of the building.
Link copied to clipboard
open fun getPosition(): MPPoint
Link copied to clipboard
open fun hasFloorIndex(floorIndex: Int): Boolean
Link copied to clipboard
open fun isInside(@Nullable point: MPPoint): Boolean
Link copied to clipboard
open fun isPoint(): Boolean
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "address")
@get:NonNull
private open val address: String
Link copied to clipboard
@SerializedName(value = "administrativeId")
@get:NonNull
private open val administrativeId: String
Link copied to clipboard
@SerializedName(value = "anchor")
@get:NonNull
private open var anchor: MPPoint
Link copied to clipboard
@SerializedName(value = "externalId")
@get:NonNull
private open val externalId: String
Link copied to clipboard
@SerializedName(value = "geometry")
@get:NonNull
private open val geometry: MPPolygonGeometry
Link copied to clipboard
@SerializedName(value = "id")
@get:NonNull
private open val id: String
Link copied to clipboard
@SerializedName(value = "venueId")
@get:NonNull
private open val venueId: String