We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

HandlerInfo

Expand

Class Info

public class HandlerInfo

Context for route planning.

Public Constructor Summary

Expand

Constructor Name

HandlerInfo()

Initial data constructor of the HandlerInfo class.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

void

setTaskId(String taskId)

Sets the ID of the context for route planning.

void

setStartTime(long startTime)

Sets the route planning start time.

void

setRouteChange(boolean routeChange)

Sets whether to change the route. This method is used when the guidance data is requested. You need to pass the value true to this method when the route is changed.

void

setResult(Object result)

Sets the route planning result.

void

setErrorCode(int errorCode)

Sets the route planning result code.

void

setErrorInfo(String errorInfo)

Sets the route planning error information.

void

setRequestId(String requestId)

Sets the route planning request ID.

void

setRoutePlanOptSrc(RoutePlanOptSrc routePlanOptSrc)

Sets the source for route planning.

void

setRoutingRequestFavoriteParam(RoutingRequestFavoriteParam routeRequestFavoriteParam)

Sets the favorite route information.

void

setMapNaviRoutingTip(MapNaviRoutingTip mapNaviRoutingTip)

Sets the tip displayed when the route planning is successful.

Public Constructors

HandlerInfo

Expand

Constructor

public HandlerInfo()

Builds a HandlerInfo instance.

Public Methods

setTaskId

Expand

Method

public void setTaskId(String taskId)

Sets the ID of the context for route planning.

Parameters

Expand

Name

Description

taskId

ID of the context for route planning.

setStartTime

Expand

Method

public void setStartTime(long startTime)

Sets the route planning start time.

Parameters

Expand

Name

Description

startTime

Route planning start time.

setRouteChange

Expand

Method

public void setRouteChange(boolean routeChange)

Sets whether to change the route. This method is used when the guidance data is requested. You need to pass the value true to this method when the route is changed.

Parameters

Expand

Name

Description

routeChange

Indicates whether to change the route. Set this parameter to true when the route is changed.

setResult

Expand

Method

public void setResult(Object result)

Sets the route planning result.

Parameters

Expand

Name

Description

result

Route planning result.

setErrorCode

Expand

Method

public void setErrorCode(int errorCode)

Sets the route planning result code.

Parameters

Expand

Name

Description

errorCode

Route planning result code.

setErrorInfo

Expand

Method

public void setErrorInfo(String errorInfo)

Sets the route planning error information.

Parameters

Expand

Name

Description

errorInfo

Route planning error information.

setRequestId

Expand

Method

public void setRequestId(String requestId)

Sets the route planning request ID.

Parameters

Expand

Name

Description

requestId

Route planning request ID.

setRoutePlanOptSrc

Expand

Method

public void setRoutePlanOptSrc(RoutePlanOptSrc routePlanOptSrc)

Sets the source for route planning.

Parameters

Expand

Name

Description

routePlanOptSrc

Source for route planning.

setRoutingRequestFavoriteParam

Expand

Method

public void setRoutingRequestFavoriteParam(RoutingRequestFavoriteParam routeRequestFavoriteParam)

Sets the favorite route information.

Parameters

Expand

Name

Description

routeRequestFavoriteParam

Favorite route information.

setMapNaviRoutingTip

Expand

Method

public void setMapNaviRoutingTip(MapNaviRoutingTip mapNaviRoutingTip)

Sets the tip displayed when the route planning is successful.

Parameters

Expand

Name

Description

mapNaviRoutingTip

Tip displayed when the route planning is successful.

Search
Enter a keyword.