setRouter

abstract fun setRouter(router: MapboxNavigationTestRouter)

Use this method to set handler of route requests sent by the Nav SDK.

Parameters

router

a router which will serve Nav SDK's route requests.