shouldReplan

abstract fun shouldReplan(navigationSnapshot: NavigationSnapshot): Boolean

Checks if current Route should be replanned.

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

Return

true if Route should be replanned, otherwise false.

Parameters

navigationSnapshot

The snapshot of the current navigation session with route creation time and deviation flag to determine if the replanning should be done.