SdkPlace
data class SdkPlace(var id: String? = null, var alias: String? = null, var latitude: Double, var longitude: Double, val generalCategory: String = "", val category: String = "", val _name: Multilanguage, var localizedCategory: String = "", val address: String? = null, val source: String = "Lazarillo", val _summary: Multilanguage? = null, val parentType: String? = null, val parentId: String? = null, val parentInstitution: String? = null, val hasBeacons: Boolean = false, val hasMessagePoints: Boolean = false, var servicePlaces: List<ServicePlaces>? = null, val schedule: List<ScheduleBlock>? = null, val scheduleTimezone: String? = null, val explorationAttributes: ExplorationAttributes = ExplorationAttributes(), val headMultimedia: Multilanguage? = null, val openingHours: OpeningHours? = null, val innerFloors: HashMap<String, InnerFloor> = HashMap(), val indoorMaps: HashMap<String, IndoorMap> = HashMap(), val inFloor: List<String> = listOf(), val indoorOutdoorString: String? = "", val showIndoorMaps: Boolean = false, val popup: PopupInfo? = null, val relatedPlaces: List<String> = listOf(), val relatedPlacesTitle: Multilanguage? = null, val customCapabilitiesLabel: Multilanguage? = null, val polygons: List<String>? = null, var radius: Double = PLACE_RADIUS_UNSET, val accessibleRoutes: Boolean = true, val accessibleWithCompass: Boolean = false, val logo: RawLogo? = null, val tags: List<String> = listOf(), val images: List<String> = listOf())Represents a point of interest (POI) from the Lazarillo platform, which can be either an indoor or outdoor location.
An SdkPlace contains geographic coordinates, a multilanguage name, category information, and optional indoor-specific data such as floor levels, indoor maps, and beacon support. Places can belong to a parent place (e.g., a room inside a building) via parentId and parentType, forming a hierarchical structure.
This model also supports polygon-based geographic containment checks through containsLatLng, which determines whether a given location falls within the place’s defined boundaries.
Constructors
SdkPlace | constructor(id: String ? = null, alias: String ? = null, latitude: Double , longitude: Double , generalCategory: String = "", category: String = "", _name: Multilanguage, localizedCategory: String = "", address: String ? = null, source: String = “Lazarillo”, _summary: Multilanguage? = null, parentType: String ? = null, parentId: String ? = null, parentInstitution: String ? = null, hasBeacons: Boolean = false, hasMessagePoints: Boolean = false, servicePlaces: List <ServicePlaces>? = null, schedule: List <ScheduleBlock>? = null, scheduleTimezone: String ? = null, explorationAttributes: ExplorationAttributes = ExplorationAttributes(), headMultimedia: Multilanguage? = null, openingHours: OpeningHours? = null, innerFloors: HashMap <String , InnerFloor> = HashMap(), indoorMaps: HashMap <String , IndoorMap> = HashMap(), inFloor: List <String > = listOf(), indoorOutdoorString: String ? = "", showIndoorMaps: Boolean = false, popup: PopupInfo? = null, relatedPlaces: List <String > = listOf(), relatedPlacesTitle: Multilanguage? = null, customCapabilitiesLabel: Multilanguage? = null, polygons: List <String >? = null, radius: Double = PLACE_RADIUS_UNSET, accessibleRoutes: Boolean = true, accessibleWithCompass: Boolean = false, logo: RawLogo? = null, tags: List <String > = listOf(), images: List <String > = listOf()) |
Types
| Name | Summary |
|---|---|
Companion | object Companion |
Properties
_name
val _name: MultilanguageTypes: Multilanguage
Multilanguage name of the place, supporting localized display via Multilanguage.
_summary
val _summary: Multilanguage? = nullTypes: Multilanguage
accessibleRoutes
val accessibleRoutes: Boolean = trueWhether accessible (barrier-free) routes are available at this place.
accessibleWithCompass
val accessibleWithCompass: Boolean = falseaddress
val address: String? = nullalias
var alias: String?category
val category: StringcustomCapabilitiesLabel
val customCapabilitiesLabel: Multilanguage? = nullTypes: Multilanguage
explorationAttributes
val explorationAttributes: ExplorationAttributesTypes: ExplorationAttributes
generalCategory
val generalCategory: StringhasBeacons
val hasBeacons: Boolean = falseWhether this place is equipped with Bluetooth beacons for indoor positioning.
hasMessagePoints
val hasMessagePoints: Boolean = falseheadMultimedia
val headMultimedia: Multilanguage? = nullTypes: Multilanguage
id
var id: String?Unique identifier for this place, typically assigned by the Lazarillo backend.
images
val images: List<String>indoorMaps
val indoorMaps: HashMap<String, IndoorMap>Types: IndoorMap
Map of floor identifiers to IndoorMap objects, representing raster floor plan overlays for indoor visualization.
indoorOutdoorString
val indoorOutdoorString: String?inFloor
val inFloor: List<String>List of floor identifiers indicating which floors this place is located on.
innerFloors
val innerFloors: HashMap<String, InnerFloor>Types: InnerFloor
Map of floor identifiers to InnerFloor objects, representing the floor levels available within this place (relevant for multi-story buildings).
latitude
var latitude: DoubleGeographic latitude of the place’s center point.
localizedCategory
var localizedCategory: Stringlocation
val location: Locationlogo
val logo: RawLogo? = nullTypes: RawLogo
longitude
var longitude: DoubleGeographic longitude of the place’s center point.
name
val name: StringopeningHours
val openingHours: OpeningHours? = nullTypes: OpeningHours
parentId
val parentId: String? = nullIdentifier of the parent place (e.g., a building) that contains this place, or null if this place has no parent.
parentInstitution
val parentInstitution: String? = nullparentType
val parentType: String? = nullType of the parent entity (e.g., “Place”, “Institution”, “Event”), or null if this place has no parent.
polygons
val polygons: List<String>? = nullList of encoded polyline strings defining the geographic boundaries of this place, used for containment checks.
popup
val popup: PopupInfo? = nullTypes: PopupInfo
radius
var radius: DoubleProximity radius in meters for this place. Defaults to PLACE_RADIUS_UNSET and can be resolved to DEFAULT_INDOOR_PLACE_RADIUS or DEFAULT_OUTDOOR_PLACE_RADIUS.
relatedPlaces
val relatedPlaces: List<String>relatedPlacesTitle
val relatedPlacesTitle: Multilanguage? = nullTypes: Multilanguage
schedule
val schedule: List<ScheduleBlock>? = nullTypes: ScheduleBlock
scheduleTimezone
val scheduleTimezone: String? = nullservicePlaces
var servicePlaces: List<ServicePlaces>?Types: ServicePlaces
showIndoorMaps
val showIndoorMaps: Boolean = falsesource
val source: Stringtags
val tags: List<String>Functions
containsLatLng
fun containsLatLng(location: Location): BooleanreachableFrom
fun reachableFrom(location: Location): Boolean