Class Floor

    • Field Detail

      • CREATOR

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

      • getName

        public String getName()
        Return the name of the floor limited to 5 characters. If name is not defined an empty String is returned.
      • getLevel

        @Deprecated
        public int getLevel()
        Deprecated.
        use getFloor() instead
        Returns the number of the floor.
      • getFloor

        public int getFloor()
        Retrieves the number of the floor
      • getScale

        public double getScale()
        Returns the scale of the floor image, in px/meters
      • getAltitude

        public double getAltitude()
        Returns altitude of the floor above ground level, in meters
        Returns:
        the floor altitude. Default value is 0
      • getMapUrl

        @NonNull
        public URL getMapUrl()
        Return the floor map image url
      • 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