findCurrentVoiceInstructions

fun findCurrentVoiceInstructions(currentStep: LegStep, stepDistanceRemaining: Double): VoiceInstructions?

This method returns the current VoiceInstructions based on the step distance remaining.

Return

current voice instructions based on step distance remaining

Since

0.13.0

Parameters

currentStep

holding the current banner instructions

stepDistanceRemaining

to determine progress along the step