Package globus.glmap

Interface NetworkTask.Callback

Enclosing class:
NetworkTask

public static interface NetworkTask.Callback
Callbacks of task
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFinished(ByteBuffer result, long timestamp, GLMapError error)
    Called when task is finished
  • Method Details

    • onFinished

      void onFinished(@Nullable ByteBuffer result, long timestamp, @Nullable GLMapError error)
      Called when task is finished
      Parameters:
      result - result of task
      timestamp - timestamp of result or 0
      error - error or nil