Untitled Document
CApplicationAPI.GetRouteInfo Method 
GPS NAVIGATION SDK
version 8.3 build 40117

The function returns informations about computed route.

public static int GetRouteInfo(
   out SError Error,
   out SRouteInfo RouteInfo,
   int MaxTime
);

Parameters

Error
Additional error information returned from Drive.
RouteInfo
Reference to instance of SRouteInfo class which contains informations about route after function execution.
MaxTime
Maximum of time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.

Return Value

1 if successful, other value otherwise.

Remarks

GetRouteInfo fills in RouteInfo members.
Status member of RouteInfo determines status of the route. Possible values are:


Only if Status=0x0002 (Computed) you can be sure than other members of SRouteInfo are valid.
See SRouteInfo for information about other RouteInfo members .

Destination of route is possible obtain from GetItineraryList method.

Possible error codes returned from Drive are:


See Also

CApplicationAPI Class | ApplicationAPI Namespace