public class Poi extends Resource implements FloorResource
Instances are immutable.
| Modifier and Type | Class and Description |
|---|---|
static class |
Poi.Builder
Builder to create a
Poi instances |
| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR |
EMPTY_IDENTIFIER, EMPTY_IDENTIFIER_BACKWARDS| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBuildingIdentifier()
Returns identifier of building to which the POI belongs.
|
CartesianCoordinate |
getCartesianCoordinate()
Returns cartesian coordinate of this position, relative to building
Bounds). |
PoiCategory |
getCategory()
Returns category of the POI
|
Coordinate |
getCoordinate()
Return geographical coordinate of this position
|
java.lang.String |
getFloorIdentifier()
If this POI is outside the building (
isOutdoor() == true), this field has no meaning. |
java.lang.String |
getInfoHtml()
Returns additional information about POI, in HTML.
|
java.lang.String |
getName()
Returns a name for the POI, appropriate for display to the user.
|
Point |
getPosition() |
int |
hashCode() |
boolean |
isIndoor()
Returns whether the POI is placed outside the building or not.
|
boolean |
isOutdoor()
Returns whether the POI is placed outside the building or not.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
getCreatedAt, getCustomFields, getIdentifier, getUpdatedAtpublic java.lang.String getName()
public java.lang.String getInfoHtml()
public PoiCategory getCategory()
public java.lang.String getBuildingIdentifier()
getBuildingIdentifier in interface BuildingResourcepublic java.lang.String getFloorIdentifier()
isOutdoor() == true), this field has no meaning.getFloorIdentifier in interface FloorResourcepublic Point getPosition()
public Coordinate getCoordinate()
public CartesianCoordinate getCartesianCoordinate()
Bounds).
If this POI is outside the building (isOutdoor() == true), this field has no meaning.public boolean isOutdoor()
true if it's outside, so it has no getCartesianCoordinate() nor getFloorIdentifier() ()}. false otherwise.
public boolean isIndoor()
true if it's inside. false otherwise.
public int describeContents()
public void writeToParcel(Parcel dest,
int flags)