Interface GLRouteRequest.ResultsCallback

Enclosing class:
GLRouteRequest

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

    Modifier and Type Method Description
    void onError​(globus.glmap.GLMapError error)
    Called when error happened
    void onResult​(GLRoute data)
    Called when result ready
  • Method Details

    • onResult

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

      void onError​(globus.glmap.GLMapError error)
      Called when error happened
      Parameters:
      error - error that happened