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
    Called when error happened
    void
    Called when result ready
  • Method Details

    • 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