Poi

data class Poi(val id: Int = -1, val name: String = "", val category: String? = "", val center: Float2 = Float2(), val description: String? = "", val phoneNumber: String? = "", val opensAt: String = "", val closesAt: String = "", val icon: String? = "", val points: List<Float2> = emptyList(), val color: String? = "", val type: String? = "", val facebookUrl: String? = "", val instagramUrl: String? = "", val twitterUrl: String? = "", val floorId: Int = -1)

Points of interests (POIs) object representation that contains the information about the POIs in the floor

Parameters

id

the id of the POI

name

the name of the POI

icon

the icon of the POI

points

the list of points of the POI

color

the color of the POI

type

the type of the POI

Constructors

Link copied to clipboard
constructor(id: Int = -1, name: String = "", category: String? = "", center: Float2 = Float2(), description: String? = "", phoneNumber: String? = "", opensAt: String = "", closesAt: String = "", icon: String? = "", points: List<Float2> = emptyList(), color: String? = "", type: String? = "", facebookUrl: String? = "", instagramUrl: String? = "", twitterUrl: String? = "", floorId: Int = -1)

Creates a POI object with the given parameters

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val icon: String?
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: String?