Interface BitwardsAdminService.BitwardsAdminCallback

Enclosing class:
BitwardsAdminService

public static interface BitwardsAdminService.BitwardsAdminCallback
The BitwardsAdminCallback which is used to return then result when asynchronous method is used. The onSuccess method has Object as the method output parameter, and which needs to be cast to the actual return value instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called when an oepration has failed.
    void
    onSuccess(Object result)
    This method is called when an operation has been successfully completed.
  • Method Details

    • onSuccess

      void onSuccess(Object result)
      This method is called when an operation has been successfully completed.
      Parameters:
      result - the result of the operation, Object must be cast to actual result class instance.
    • onError

      void onError(BitwardsException exception)
      This method is called when an oepration has failed.
      Parameters:
      exception - the exception describing the error.