Package 

Interface TrackerWebserviceListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onSuccess(List<Event> events) Called when a request succeed
      abstract void onFailure(FailReason reason, List<Event> events) Called when a request fail
      abstract void onFinish() Called when the webservice finish, on failure or on success
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSuccess

         abstract void onSuccess(List<Event> events)

        Called when a request succeed

        Parameters:
        events - event successfully sent
      • onFailure

         abstract void onFailure(FailReason reason, List<Event> events)

        Called when a request fail

        Parameters:
        reason - reason of the failure
        events - event not sent
      • onFinish

         abstract void onFinish()

        Called when the webservice finish, on failure or on success