Class RouteHandle
Package com.here.sdk.routing
Class RouteHandle
- java.lang.Object
-
- com.here.sdk.routing.RouteHandle
-
public final class RouteHandle extends java.lang.ObjectProvides an opaque handle to the calculated
Route. A handle encodes the calculated route. The route can be decoded from a handle at a later point in time as long as the service uses the same map data which was used during encoding. Note that theRoute.getRouteHandle()is provided only ifRouteOptions.enableRouteHandleis set before route calculation. ARouteHandlegenerated by the onlineRoutingEngineis not compatible with theOfflineRoutingEngine. Similarly, aRouteHandlefrom theOfflineRoutingEnginecannot be used with the onlineRoutingEngine. Using an incompatibleRouteHandleresults in aRoutingError.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringhandleHandle value as it is provided by routing server.
-
Constructor Summary
Constructors Constructor Description RouteHandle(java.lang.String handle)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-