public interface WalletChangeEventListener
Implementors are called when the contents of the wallet changes, for instance due to receiving/sending money
or a block chain re-organize. It may be convenient to derive from AbstractWalletEventListener
instead.
Modifier and Type | Method and Description |
---|---|
void |
onWalletChanged(Wallet wallet)
Designed for GUI applications to refresh their transaction lists.
|
void onWalletChanged(Wallet wallet)
Designed 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.
Copyright © 2016. All rights reserved.