generateGuidance

abstract fun generateGuidance(navigationSnapshot: NavigationSnapshot): Guidance

Generates Guidance which might be a new upcoming maneuver or the same with updated distance to next maneuver.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

If the call succeeds, returns a Guidance.

Parameters

navigationSnapshot

The NavigationSnapshot used to generate Guidance.

Throws

if GuidanceFailure has happen.