Interface EngageBySailthru.TrackHandler

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onSuccess() On a successful request, onSuccess is called
      abstract Unit onFailure(Error error) If a request fails, onFailure is called
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onSuccess

         abstract Unit onSuccess()

        On a successful request, onSuccess is called

      • onFailure

         abstract Unit onFailure(Error error)

        If a request fails, onFailure is called

        Parameters:
        error - A description of the error