public interface PCGetTransactionCallback extends PCTaskCallback
Modifier and Type | Method and Description |
---|---|
void |
error(PCNetError error)
Invoked when transaction data wasn't acquired from server
|
void |
success(PCTransaction transaction)
Invoked when transaction data is successfully downloaded
|
onTaskCancelled, onTaskCreated
void success(PCTransaction transaction)
transaction
- PCTransaction
ready to be used. If the transaction is likely to contain binary data,
call PCTransaction.hasBinaryData()
before signing to check it. If it returns true,
download binary data with PCTransactionsManager.getTransactionBinaryData(PCUser, PCTransaction, PCGetTransactionBinaryDataCallback)
void error(PCNetError error)
error
- The cause