public class NativeWalletChangeEventListener extends java.lang.Object implements WalletChangeEventListener
| Modifier and Type | Field and Description |
|---|---|
long |
ptr |
| Constructor and Description |
|---|
NativeWalletChangeEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onWalletChanged(Wallet wallet)
Designed for GUI applications to refresh their transaction lists.
|
public void onWalletChanged(Wallet wallet)
WalletChangeEventListenerDesigned for GUI applications to refresh their transaction lists. This callback is invoked in the following situations:
When this is called you can refresh the UI contents from the wallet contents. It's more efficient to use this rather than onTransactionConfidenceChanged() + onReorganize() because you only get one callback per block rather than one per transaction per block. Note that this is not called when a key is added.
onWalletChanged in interface WalletChangeEventListener