navigationSnapshot

@get:RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract val navigationSnapshot: NavigationSnapshot?

The current NavigationSnapshot.

navigationSnapshot is null at the start of navigation in the following situations:

For NavigationState.FreeDriving:

  • The location provider is disabled.

  • The location provider is enabled but unable to find the location.

For NavigationState.ActiveGuidance:

Note: Once navigationSnapshot is defined, it remains defined throughout the navigation session.

Throws

if the instance of TomTomNavigation is closed.