Interface FailureCallback

  • All Implemented Interfaces:

    @Deprecated(message = "Please use Zendesk SDK") 
    public interface FailureCallback<E extends Throwable>
    
                        

    Convenience API to be notified when an asynchronous task failed.

    • 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 onFailure(E cause) Called with an optional Throwable of type E when the task failed.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onFailure

         abstract Unit onFailure(E cause)

        Called with an optional Throwable of type E when the task failed.

        Parameters:
        cause - the optional Throwable that caused the failure