calculateRoute abstract method

void calculateRoute(
  1. IndoorWaypoint from,
  2. IndoorWaypoint to,
  3. IndoorRouteOptions routeOptions,
  4. CalculateIndoorRouteCallback callback,
)

Asynchronously calculates a route inside a venue.

  • 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.

Implementation

void calculateRoute(IndoorWaypoint from, IndoorWaypoint to, IndoorRouteOptions routeOptions, CalculateIndoorRouteCallback callback);