Interface GLRouteRequest.ResultsCallback

  • Enclosing class:
    GLRouteRequest

    public static interface GLRouteRequest.ResultsCallback
    Callback that will be called when request is finished
    • Method Detail

      • onResult

        void onResult​(@NonNull
                      GLRoute data)
        Called when result ready
        Parameters:
        data - route data
      • onError

        void onError​(@NonNull
                     GLMapError error)
        Called when error happened
        Parameters:
        error - error that happened