Class BuildingInfo

  • All Implemented Interfaces:
    android.os.Parcelable

    public class BuildingInfo
    extends Object
    implements android.os.Parcelable
    A building and its dependencies: floors, POIs and events
    • Field Detail

      • CREATOR

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

      • getBuilding

        @NonNull
        public final Building getBuilding()
        Returns the building, without dependencies.
      • containsPoint

        public boolean containsPoint​(Point point)
      • getFloors

        @NonNull
        public final Collection<Floor> getFloors()
        Returns existent floors in the building.
        Returns:
        Collection of Floors. Can be empty.
      • getIndoorPOIs

        @NonNull
        public final Collection<Poi> getIndoorPOIs()
        Returns points of interest inside the building.
        Returns:
        Collection of Poi. Can be empty.
      • getOutdoorPOIs

        @NonNull
        public final Collection<Poi> getOutdoorPOIs()
        Returns points of interest outside the building
        Returns:
        Collection of SitumEvent. Can be empty.
      • 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