CostModel
data class CostModel(val routeType: RouteType = RouteType.Fast, val considerTraffic: ConsiderTraffic = ConsiderTraffic.Yes, val avoidOptions: AvoidOptions? = null)
Criteria that specify what paths to prefer during routing.
Parameters
routeType
The overall path preference.
considerTraffic
Whether to ignore traffic.
avoidOptions
What to avoid.
Constructors
Link copied to clipboard
fun CostModel(routeType: RouteType = RouteType.Fast, considerTraffic: ConsiderTraffic = ConsiderTraffic.Yes, avoidOptions: AvoidOptions? = null)