目录

RoutingRequestParam

Class Info

public class RoutingRequestParam extends BaseRequestVO

Route planning request parameter class.

Public Method Summary

Qualifier and Type

Method Name and Description

void

setAlternatives(boolean alternatives)

Sets whether to calculate multiple routes.

void

setBindingPoints(List<Location> bindingPoints)

Sets a list of binding points.

void

setFromPoints(List<NaviRequestPoint> fromPoints)

Sets a list of start points for route planning.

void

setPoi(DestPoiAttri poi)

Sets the POI value.

void

setPoliticalView(String politicalView)

Sets the political view (country/region code).

void

setPrivateDestination(PrivateDestinationType privateDestination)

Sets the navigation end point type.

void

setRestrictionInfo(RestrictionInfoDTO restrictionInfo)

Sets restriction parameters.

void

setRoutePlanOptSrc(RoutePlanOptSrc routePlanOptSrc)

Sets the source for route planning.

void

setRoutingRequestFavoriteParam(RoutingRequestFavoriteParam routingRequestFavoriteParam)

Sets the favorite route information.

void

setStrategy(NaviStrategy strategy)

Sets the strategy for route planning.

void

setToPoints(List<NaviRequestPoint> toPoints)

Sets a list of end points for route planning.

void

setVehicleCategory(int vehicleCategory)

Sets the vehicle type.

void

setWayPoints(List<NaviRequestPoint> wayPoints)

Sets a list of waypoints.

String

toString()

Converts route planning parameter information into a character string.

Public Methods

[h2]setAlternatives

Method

public void setAlternatives(boolean alternatives)

Sets whether to calculate multiple routes.

Parameters

Name

Description

alternatives

Indicates whether to calculate multiple routes.

  • true: yes
  • false: no

[h2]setBindingPoints

Method

public void setBindingPoints(List<Location> bindingPoints)

Sets a list of binding points.

Parameters

Name

Description

bindingPoints

Track points collected within 30 seconds before navigation start, which are used for road binding. A maximum of 60 points are allows.

[h2]setFromPoints

Method

public void setFromPoints(List<NaviRequestPoint> toPoints)

Sets a list of start points for route planning.

Parameters

Name

Description

toPoints

A list of start points for route planning.

[h2]setPoi

Method

public void setPoi(DestPoiAttri poi)

Sets the POI value.

Parameters

Name

Description

poi

POI value.

[h2]setPoliticalView

Method

public void setPoliticalView(String politicalView)

Sets the political view (country/region code).

Parameters

Name

Description

politicalView

Political view (country/region code).

[h2]setPrivateDestination

Method

public void setPrivateDestination(PrivateDestinationType privateDestination)

Sets the navigation end point type.

Parameters

Name

Description

privateDestination

Navigation end point type.

[h2]setRestrictionInfo

Method

public void setRestrictionInfo(RestrictionInfoDTO restrictionInfo)

Sets restriction parameters.

Parameters

Name

Description

restrictionInfo

Restriction parameters. For details, please refer to RestrictionInfoDTO.

[h2]setRoutePlanOptSrc

Method

public void setRoutePlanOptSrc(RoutePlanOptSrc routePlanOptSrc)

Sets the source for route planning.

Parameters

Name

Description

routePlanOptSrc

Source for route planning.

[h2]setRoutingRequestFavoriteParam

Method

public void setRoutingRequestFavoriteParam(RoutingRequestFavoriteParam routingRequestFavoriteParam)

Sets the favorite route information.

Parameters

Name

Description

routingRequestFavoriteParam

Favorite route information.

[h2]setStrategy

Method

public void setStrategy(NaviStrategy strategy)

Sets the strategy for route planning.

Parameters

Name

Description

strategy

Strategy for route planning. For details, please refer to NaviStrategy.

[h2]setToPoints

Method

setToPoints(List<NaviRequestPoint> toPoints)

Sets a list of end points for route planning.

Parameters

Name

Description

toPoints

A list of end points for route planning.

[h2]setVehicleCategory

Method

setVehicleCategory(int vehicleCategory)

Sets the vehicle type.

Parameters

Name

Description

vehicleCategory

Vehicle type. For details, please refer to VehicleCategory.

[h2]setWayPoints

Method

public void setWayPoints(List<NaviRequestPoint> wayPoints)

Sets a list of waypoints.

Parameters

Name

Description

wayPoints

A list of waypoints.

[h2]toString

Method

public String toString()

Converts route planning parameter information into a character string.

Returns

Type

Description

String

Character string converted from route planning request parameter information.