Class Poi

    • Field Detail

      • CREATOR

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

      • getName

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

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

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

        @NonNull
        public java.lang.String getCategoryIdentifier()
        Return the identifier of the PoiCategory this POI belongs to.
        Returns:
        Identifier
      • getCategories

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

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

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

        @NonNull
        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

        @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.

      • 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
        Returns:
        Map with the information of the object mapped
      • equals

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

        public java.lang.String toString()
        Overrides:
        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