Class Poi

    • Field Detail

      • CREATOR

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

      • getName

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

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

        public PoiCategory getCategory()
        Returns category of the POI
      • getCategoryIdentifier

        public java.lang.String getCategoryIdentifier()
        Return the identifier of the PoiCategory this POI belongs to.
      • getCategories

        public java.util.Collection<PoiCategory> getCategories()
        Returns the list of PoiCategorys this POI belongs to.
        List of categories.
      • getCategoryIdentifiers

        public java.util.Collection<java.lang.String> getCategoryIdentifiers()
        Returns the list of PoiCategory identifiers this POI belongs to.
        List of identifiers.
      • getBuildingIdentifier

        public java.lang.String getBuildingIdentifier()
        Returns identifier of building to which the POI belongs.
        Specified by:
        getBuildingIdentifier in interface BuildingResource
      • getFloorIdentifier

        public java.lang.String getFloorIdentifier()
        If this POI is outside the building (isOutdoor() == true), this field has no meaning.
        Specified by:
        getFloorIdentifier in interface FloorResource
      • getPosition

        public Point getPosition()
      • getCoordinate

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

        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.
        true if it's inside.

        false otherwise.

      • toMap

        public java.util.Map<java.lang.String,​java.lang.Object> toMap()
        Description copied from interface: MapperInterface
        Method to transform object into Map
        Specified by:
        toMap in interface MapperInterface
        Map with the information of the object mapped
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class Resource
      • toString

        public java.lang.String toString()
        toString in class Resource
      • 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