Interface MeaListener


  • public interface MeaListener
    Interface describing common success and failure events. App developers should create a local instance of this class and pass it to library to listen for events. onFailure(Object) and onSuccess() are invoked on the Main / UI thread after the background computation finishes.
    • Method Detail

      • onSuccess

        @UiThread
        void onSuccess()
        Called when operation completed successfully.
      • onFailure

        @UiThread
        void onFailure​(@NonNull
                       T2 error)
        Called when operation failed.
        Parameters:
        error - The error or error array.