public class Poi extends Resource implements FloorResource, android.os.Parcelable
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 android.os.Parcelable.Creator<Poi> |
CREATOR |
EMPTY_IDENTIFIER, EMPTY_IDENTIFIER_BACKWARDS| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object o) |
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
|
String |
getFloorIdentifier()
If this POI is outside the building (
isOutdoor() == true), this field has no meaning. |
String |
getInfoHtml()
Returns additional information about POI, in HTML.
|
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.
|
String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getCreatedAt, getCustomFields, getIdentifier, getUpdatedAtpublic static final android.os.Parcelable.Creator<Poi> CREATOR
public String getName()
public String getInfoHtml()
public PoiCategory getCategory()
public String getBuildingIdentifier()
getBuildingIdentifier in interface BuildingResourcepublic 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()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable