CarRouteOptionsInterceptor

fun interface CarRouteOptionsInterceptor

This allows you to change the route options used by Android Auto for requesting a route.

Functions

Link copied to clipboard
abstract fun intercept(builder: RouteOptions.Builder): RouteOptions.Builder

Called before the route is requested.