package Ġcom . mapbox . navigation . core . directions . session Ċ Ċ import Ġcom . mapbox . api . directions . v 5 . models . Directions Route Ċ import Ġcom . mapbox . api . directions . v 5 . models . Route Options Ċ import Ġcom . mapbox . navigation . base . route . Router Ċ Ċ internal Ġinterface ĠDirection s Session Ġ{ ĊĊĠĠĠ Ġvar Ġroutes : ĠList < Directions Route > ĊĊĠĠĠ Ġfun Ġget Route Options (): ĠRoute Options ? ĊĊĠĠĠ Ġfun Ġrequest Routes ( route Options : ĠRoute Options , Ġroutes Request Callback : ĠRoutes Request Callback ) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠRequests Ġa Ġroute Ġusing Ġthe Ġprovided Ġ[ Router ] Ġimplementation . ĊĠĠĠĠ Ġ* ĠUn like Ġ[ Directions Session . request Routes ] Ġit Ġignores Ġthe Ġresult Ġand Ġit 's Ġup Ġto Ġthe ĊĠĠĠĠ Ġ* Ġconsumer Ġto Ġtake Ġan Ġaction Ġwith Ġthe Ġroute . ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ param Ġadjusted Route Options : ĠRoute Options Ġwith Ġadjusted Ġparameters ĊĠĠĠĠ Ġ* Ġ@ param Ġroutes Request Callback Ġlistener Ġthat Ġgets Ġnotified Ġwhen Ġrequest Ġstate Ġchanges ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġrequest F aster Route ( adjusted Route Options : ĠRoute Options , Ġroutes Request Callback : ĠRoutes Request Callback ) ĊĊĠĠĠ Ġfun Ġcancel () ĊĊĠĠĠ Ġfun Ġregister Routes Observer ( routes Observer : ĠRoutes Observer ) ĊĊĠĠĠ Ġfun Ġunregister Routes Observer ( routes Observer : ĠRoutes Observer ) ĊĊĠĠĠ Ġfun Ġshut Down Session () ĊĊĠĠĠ Ġfun Ġunregister All Routes Observer s () Ċ } Ċ