public interface PCSignCallback extends PCTaskCallback
PCTransactionsManager.sign(PCUser, PCTransaction, PCSignCallback)| Modifier and Type | Method and Description |
|---|---|
void |
error(PCError error,
PCNetError netError,
PCConfirmation confirmation)
Invoked when transaction was not signed because of some error
|
void |
success()
Invoked when transaction is signed successfully
|
onTaskCancelled, onTaskCreatedvoid success()
void error(PCError error, PCNetError netError, PCConfirmation confirmation)
error - Not null if type of error occurred is PCErrornetError - Not null if type of error occurred is PCNetErrorconfirmation - Not null if the transaction is still can be signed offline. Contains offline confirmation
code which can be acquired through PCConfirmation.getShortConfirmCode().