@Beta(2020, 12) class Builder
Builder used to create an instance of ReachableRangeSpecification. Once constructed, the user cannot change the field values.
Builder(origin: LatLng)
Builder used to create an instance of ReachableRangeSpecification. Once constructed, the user cannot change the field values. |
fun build(): ReachableRangeSpecification
Constructs a new ReachableRangeSpecification. |
|
fun combustionVehicleDescriptor(combustionVehicleDescriptor: CombustionVehicleDescriptor): ReachableRangeSpecification.Builder
Specifies parameters for the combustion vehicle. |
|
fun electricVehicleDescriptor(electricVehicleDescriptor: ElectricVehicleDescriptor): ReachableRangeSpecification.Builder
Specifies parameters for the electric vehicle. |
|
fun reachableRangeBudgetDescriptor(reachableRangeBudgetDescriptor: ReachableRangeBudgetDescriptor): ReachableRangeSpecification.Builder
Specifies the reachable range budget. |
|
fun routeDescriptor(routeDescriptor: RouteDescriptor): ReachableRangeSpecification.Builder
Specifies parameters related to the route itself. |