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, onTaskCreated
void success()
void error(PCError error, PCNetError netError, PCConfirmation confirmation)
error
- Not null if type of error occurred is PCError
netError
- Not null if type of error occurred is PCNetError
confirmation
- Not null if the transaction is still can be signed offline. Contains offline confirmation
code which can be acquired through PCConfirmation.getShortConfirmCode()
.