Interface IndoorRouteCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IndoorRouteCallback

A function which is called by the IndoorRoutingEngine after route calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is null for an operation that succeeds. The second argument is the calculated routes. It is null in case of an error. The third argument is the list of route notices. It may be null in case of an error, or may contain notices if route-level notices were generated.

  • Method Details

    • onIndoorRouteCalculated

      void onIndoorRouteCalculated(@Nullable IndoorRoutingError indoorRoutingError, @Nullable List<Route> routeList, @Nullable List<IndoorRouteNotice> routeNotices)

      A function which is called by the IndoorRoutingEngine after route calculation has completed. It is always called on the main thread. The first argument is the error in case of a failure. It is null for an operation that succeeds. The second argument is the calculated routes. It is null in case of an error. The third argument is the list of route notices. It may be null in case of an error, or may contain notices if route-level notices were generated.

      Parameters:
      indoorRoutingError -

      The error in case of a failure. It is null for an operation that succeeds.

      routeList -

      The calculated routes. It is null in case of an error.

      routeNotices -

      The list of route notices. It may be null in case of an error, or may contain notices if route-level notices were generated.