Interface ResultListener


public interface ResultListener

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

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(String errorReason)
    Called when the associated operation failed.
    void
    Called when the associated operation was successful.
  • Method Details

    • onSuccess

      void onSuccess()

      Called when the associated operation was successful.

    • onFailure

      void onFailure(String errorReason)

      Called when the associated operation failed.

      Parameters:
      errorReason - arbitrary string describing the error