Class RouteSegment

  • All Implemented Interfaces:
    android.os.Parcelable, MapperInterface

    public abstract class RouteSegment
    extends java.lang.Object
    implements android.os.Parcelable, MapperInterface
    A continuous segment of a route that contains points of the same floor
    • Constructor Detail

      • RouteSegment

        public RouteSegment()
    • Method Detail

      • create

        public static RouteSegment create​(java.lang.String floorIdentifier,
                                          java.util.List<Point> points)
      • getFloorIdentifier

        public abstract java.lang.String getFloorIdentifier()
        Return the floor of the segment
      • getPoints

        public abstract java.util.List<Point> getPoints()
        Return the points of the segment
      • 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