Class RouteSegment

java.lang.Object
es.situm.sdk.model.directions.RouteSegment
All Implemented Interfaces:
android.os.Parcelable, MapperInterface

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

    • RouteSegment

      public RouteSegment()
  • Method Details

    • create

      public static RouteSegment create(String floorIdentifier, List<Point> points)
    • getFloorIdentifier

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

      public abstract List<Point> getPoints()
      Return the points of the segment
    • toMap

      public Map<String,Object> toMap()
      Description copied from interface: MapperInterface
      Method to transform object into Map<String, Object>
      Specified by:
      toMap in interface MapperInterface
      Returns:
      Map<String, Object> with the information of the object mapped