Package 

Interface SuccessCallback

  • All Implemented Interfaces:

    
    public interface SuccessCallback<T extends Object>
    
                        

    Convenience API to be notified when an asynchronous task is successful.

    • 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(T value) Called with a value of T when the task was successful.
      • 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(T value)

        Called with a value of T when the task was successful.

        Parameters:
        value - the returned value T