Class IndoorRoutingEngine

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.routing.IndoorRoutingEngine

public final class IndoorRoutingEngine extends NativeBase

Use the IndoorRoutingEngine to calculate a route inside a venue.
Route calculation is done asynchronously and requires an internet connection. The resulting route contains various information such as the polyline, route length in meters, estimated time to traverse along the route and maneuver data.
Note: This feature is in BETA state and thus there can be bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process. Currently, the indoor route calculation may not be accurate so that e.g. a pedestrian end user might be routed via a vehicle access and route or similar. Therefore end users must use this feature with caution and always be aware of the surroundings. The signs and instructions given at the premises must be observed. You are required to inform the end user about this in an appropriate manner, whether in the UI of your application, your end user terms or similar.

  • Constructor Details

    • IndoorRoutingEngine

      public IndoorRoutingEngine(@NonNull VenueService venueService)

      Creates a new instance of this class.

      Parameters:
      venueService -

      A venue service instance.

  • Method Details

    • calculateRoute

      public void calculateRoute(@NonNull IndoorWaypoint from, @NonNull IndoorWaypoint to, @NonNull IndoorRouteOptions routeOptions, @NonNull CalculateIndoorRouteCallback callback)

      Asynchronously calculates a route inside a venue.

      Parameters:
      from -

      A starting position of the route to calculate.

      to -

      A destination position of the route to calculate.

      routeOptions -

      Options specific for indoor route calculation, along with common route options.

      callback -

      Callback object that will be invoked after route calculation. It is always invoked on the main thread.