project

abstract fun project(navigationSnapshot: NavigationSnapshot): List<ProjectedRoute>

Projects all routes and returns ProjectedRoute with a list of ProjectedRouteSection.

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

Return

A list of ProjectedRoute consisting of an ID and a list of projected sections.

Parameters

navigationSnapshot

The current navigation snapshot.