obtainTrackedRoutes

abstract fun obtainTrackedRoutes(navigationSnapshot: NavigationSnapshot): List<String>

Detects which routes are being followed.

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

Return

A list of IDs of tracked routes, otherwise empty list.

Parameters

navigationSnapshot

The NavigationSnapshot used to determine if the routes are being followed or deviated from.