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)
ScriptsChangeEventListener
onScriptsChanged
in interface ScriptsChangeEventListener
isAddingScripts
- will be true if added scripts, false if removed scripts.