#include <wallet2_api.h>
◆ ~WalletListener()
| Monero::WalletListener::~WalletListener |
( |
| ) |
|
|
pure virtual |
◆ moneyReceived()
| virtual void Monero::WalletListener::moneyReceived |
( |
const std::string & | txId, |
|
|
uint64_t | amount ) |
|
pure virtual |
moneyReceived - called when money received
- Parameters
-
| txId | - transaction id |
| amount | - amount |
◆ moneySpent()
| virtual void Monero::WalletListener::moneySpent |
( |
const std::string & | txId, |
|
|
uint64_t | amount ) |
|
pure virtual |
moneySpent - called when money spent
- Parameters
-
| txId | - transaction id |
| amount | - amount |
◆ newBlock()
| virtual void Monero::WalletListener::newBlock |
( |
uint64_t | height | ) |
|
|
pure virtual |
newBlock - called when new block received
- Parameters
-
Implemented in MyWalletListener.
◆ onDeviceButtonPressed()
| virtual void Monero::WalletListener::onDeviceButtonPressed |
( |
| ) |
|
|
inlinevirtual |
called by device if the button was pressed
◆ onDeviceButtonRequest()
| virtual void Monero::WalletListener::onDeviceButtonRequest |
( |
uint64_t | code | ) |
|
|
inlinevirtual |
called by device if the action is required
◆ onDevicePassphraseRequest()
| virtual optional< std::string > Monero::WalletListener::onDevicePassphraseRequest |
( |
bool & | on_device | ) |
|
|
inlinevirtual |
called by device when passphrase entry is needed
◆ onDevicePinRequest()
| virtual optional< std::string > Monero::WalletListener::onDevicePinRequest |
( |
| ) |
|
|
inlinevirtual |
called by device when PIN is needed
◆ onDeviceProgress()
Signalizes device operation progress.
◆ onSetWallet()
| virtual void Monero::WalletListener::onSetWallet |
( |
Wallet * | wallet | ) |
|
|
inlinevirtual |
If the listener is created before the wallet this enables to set created wallet object.
◆ refreshed()
| virtual void Monero::WalletListener::refreshed |
( |
| ) |
|
|
pure virtual |
refreshed - called when wallet refreshed by background thread or explicitly refreshed by calling "refresh" synchronously
Implemented in MyWalletListener.
◆ unconfirmedMoneyReceived()
| virtual void Monero::WalletListener::unconfirmedMoneyReceived |
( |
const std::string & | txId, |
|
|
uint64_t | amount ) |
|
pure virtual |
unconfirmedMoneyReceived - called when payment arrived in tx pool
- Parameters
-
| txId | - transaction id |
| amount | - amount |
◆ updated()
| virtual void Monero::WalletListener::updated |
( |
| ) |
|
|
pure virtual |
updated - generic callback, called when any event (sent/received/block reveived/etc) happened with the wallet;
Implemented in MyWalletListener.
The documentation for this struct was generated from the following files: