CostModel

constructor(routeType: RouteType = RouteType.Fast, considerTraffic: ConsiderTraffic = ConsiderTraffic.Yes, avoidOptions: AvoidOptions? = null)

Parameters

routeType

The overall path preference.

considerTraffic

Whether to ignore traffic.

avoidOptions

What to avoid.