Builder

class Builder

Builder of RouteStepProgress

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): RouteStepProgress
Build new instance of RouteStepProgress
distanceRemaining
Link copied to clipboard
fun distanceRemaining(distanceRemaining: Float): RouteStepProgress.Builder
Total distance in meters from user to end of step
distanceTraveled
Link copied to clipboard
fun distanceTraveled(distanceTraveled: Float): RouteStepProgress.Builder
Returns distance user has traveled along current step in unit meters
durationRemaining
Link copied to clipboard
fun durationRemaining(durationRemaining: Double): RouteStepProgress.Builder
The duration remaining in seconds until the user reaches the end of the current step
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
fractionTraveled
Link copied to clipboard
fun fractionTraveled(fractionTraveled: Float): RouteStepProgress.Builder
The fraction traveled along the current step.
hashCode
Link copied to clipboard
open fun hashCode(): Int
step
Link copied to clipboard
fun step(step: LegStep?): RouteStepProgress.Builder
Returns the current step the user is traversing along
stepIndex
Link copied to clipboard
fun stepIndex(stepIndex: Int): RouteStepProgress.Builder
Index representing the current step the user is on
stepPoints
Link copied to clipboard
fun stepPoints(stepPoints: List<Point>?): RouteStepProgress.Builder
A list of points that represent the current step geometry
toString
Link copied to clipboard
open fun toString(): String