public class NativeScriptsChangeEventListener extends java.lang.Object implements ScriptsChangeEventListener
| Modifier and Type | Field and Description |
|---|---|
long |
ptr |
| Constructor and Description |
|---|
NativeScriptsChangeEventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onScriptsChanged(Wallet wallet,
java.util.List<Script> scripts,
boolean isAddingScripts)
Called whenever a new watched script is added to the wallet.
|
public void onScriptsChanged(Wallet wallet, java.util.List<Script> scripts, boolean isAddingScripts)
ScriptsChangeEventListeneronScriptsChanged in interface ScriptsChangeEventListenerisAddingScripts - will be true if added scripts, false if removed scripts.