WalletCallback
public interface WalletCallback
Callback called after attempting to create, unlock or recover wallet.
Provided as a callback to createWallet, unlockWallet and recoverWallet methods on User instance.
Public Method Summary
Type | Method |
---|---|
void | onError(Exception e) This method gets invoked when operation is not succesful. |
void | onSuccess(Wallet wallet) This method gets invoked when operation is succesful. |
Public Methods
onError
public void onError(Exception e)
This method gets invoked when operation is not succesful. See Handling Errors for details.
onSuccess
public void onSuccess(Wallet wallet)
This method gets invoked when operation is succesful.