Package com.mapfactor.sdk.routing
Interface RoutePointsListener.AddRoutePointResult
- Enclosing interface:
- RoutePointsListener
public static interface RoutePointsListener.AddRoutePointResult
Adding route point result
- Since:
- 4.5
-
Method Summary
Modifier and TypeMethodDescriptionGet adding route point result codeint
Get ID of the newly added route point.boolean
Test whether the route point is on a road with restricted access
-
Method Details
-
getRoutePointId
int getRoutePointId()Get ID of the newly added route point. -1 when adding route point failed.- Returns:
- newly added route point ID
- Since:
- 4.5
-
isInRestrictedArea
boolean isInRestrictedArea()Test whether the route point is on a road with restricted access- Returns:
- true/false when the route point was added to a road with restricted access
- Since:
- 4.5
-
getResult
Get adding route point result code- Returns:
- adding route point result code
- Since:
- 4.5
-