MnemonicCallback
public interface MnemonicCallback
Callback called after attempting to reveal user's mnemonic phrase.
Used in reveal mnemonic call revealMnemonic on User instance.
Public Method Summary
Type | Method |
---|---|
void | onError(Exception e) This method gets invoked when user's mnemonic phrase is not succesfully decrypted. |
void | onSuccess(String mnemonic) This method gets invoked when user's mnemonic phrase is succesfully decrypted. |
Public Methods
onError
public void onError(Exception e)
This method gets invoked when user's mnemonic phrase is not succesfully decrypted. See Handling Errors for details.
onSuccess
public void onSuccess(String mnemonic)
This method gets invoked when user's mnemonic phrase is succesfully decrypted.