TriggerProperty

The currently support properties used for triggering a milestone.

Since

0.4.0

Properties

Link copied to clipboard
const val FALSE_VALUE: Int = 256
Link copied to clipboard
const val FIRST_LEG: Int = 9
Link copied to clipboard
const val FIRST_STEP: Int = 8
Link copied to clipboard
const val LAST_LEG: Int = 16
Link copied to clipboard
const val LAST_STEP: Int = 6
Link copied to clipboard
const val NEW_STEP: Int = 5
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The Milestone will be triggered based on the distance remaining.

Link copied to clipboard

The Milestone will be triggered based on the total step distance.

Link copied to clipboard
Link copied to clipboard

The Milestone will be triggered based on the duration remaining.

Link copied to clipboard

The Milestone will be triggered based on the total step duration.

Link copied to clipboard
const val STEP_INDEX: Int = 4

The Milestone will be triggered based on the current step index.

Link copied to clipboard
const val TRUE_VALUE: Int = 292

Functions

Link copied to clipboard
fun getSparseArray(previousRouteProgress: RouteProgress?, routeProgress: RouteProgress): HashMap<Int, Array<Number>>