Class Poi

  • All Implemented Interfaces:
    android.os.Parcelable, BuildingResource, FloorResource, Filterable

    public class Poi
    extends Resource
    implements FloorResource, android.os.Parcelable
    Point of Interest, associated to a building, regardless of whether it's place inside or outside the building.

    Instances are immutable.

    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Poi> CREATOR
    • Method Detail

      • getName

        @NonNull
        public String getName()
        Returns a name for the POI, appropriate for display to the user.
      • getInfoHtml

        @NonNull
        public String getInfoHtml()
        Returns additional information about POI, in HTML.
      • getCategory

        @NonNull
        public PoiCategory getCategory()
        Returns category of the POI
      • getPosition

        public Point getPosition()
      • getCoordinate

        @NonNull
        public Coordinate getCoordinate()
        Return geographical coordinate of this position
      • getCartesianCoordinate

        @NonNull
        public CartesianCoordinate getCartesianCoordinate()
        Returns cartesian coordinate of this position, relative to building Bounds). If this POI is outside the building (isOutdoor() == true), this field has no meaning.
      • isIndoor

        public boolean isIndoor()
        Returns whether the POI is placed outside the building or not.
        Returns:
        true if it's inside.

        false otherwise.

      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable