Interface ResultListener


  • public interface ResultListener

    An interface that can be registered to be called back when an operation completes.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onFailure​(java.lang.String errorReason)
      Called when the associated operation failed.
      void onSuccess()
      Called when the associated operation was successful.
    • Method Detail

      • onSuccess

        void onSuccess()

        Called when the associated operation was successful.

      • onFailure

        void onFailure​(java.lang.String errorReason)

        Called when the associated operation failed.

        Parameters:
        errorReason - arbitrary string describing the error