calculateRoute abstract method

  1. @Deprecated("Will be removed in v4.28.0. Use the `calculate_route()` methods with IndoorRouteCallback parameter instead.")
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

@Deprecated("Will be removed in v4.28.0. Use the `calculate_route()` methods with IndoorRouteCallback parameter instead.")

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