WaypathSegment

open class WaypathSegment

Indicates a section of the overall waypath that the user will take along their way from the start to the end of the journey

Inheritors

Constructors

Link copied to clipboard
constructor(options: TurnByTurnDirectionOptions)
Creates a new instance of this object
constructor()
Creates a new instance of this object with default options
constructor(wp: Waypoint, direction: DirectionIndicator, options: TurnByTurnDirectionOptions)
Creates a new instance of this object

Functions

Link copied to clipboard
open fun addSegment(segment: WaypathSegment)
Adds a segment to the end of the current segment
Link copied to clipboard
open fun addWaypoint(wp: Waypoint)
Adds a new waypoint to the end of this segmment
Link copied to clipboard
Generates the directions that will be used to describe this segment of the path
Generates the initial prefix for the direction that tells which direction(s) to turn relative to the previous segment on the path
Link copied to clipboard
Link copied to clipboard
open fun getFloor(): Int
Link copied to clipboard
open fun getFloorId(): String
since 1.1.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getWaypointCount(): Int
Link copied to clipboard
open fun setLandmarks(landmarks: Collection<Waypoint>)
This will be overridden if you call createStepUsingLastSegment
Link copied to clipboard
Link copied to clipboard
open fun toJSONString(): String
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
open var isFirst: Boolean
Link copied to clipboard
open var isLast: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard