Package org.bitcoinj.jni
Class NativeScriptsChangeEventListener
java.lang.Object
org.bitcoinj.jni.NativeScriptsChangeEventListener
- All Implemented Interfaces:
ScriptsChangeEventListener
@Deprecated
public class NativeScriptsChangeEventListener
extends Object
implements ScriptsChangeEventListener
Deprecated.
See https://github.com/bitcoinj/bitcoinj/issues/2465
An event listener that relays events to a native C++ object. A pointer to that object is stored in
this class using JNI on the native side, thus several instances of this can point to different actual
native implementations.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onScriptsChanged
(Wallet wallet, List<Script> scripts, boolean isAddingScripts) Deprecated.Called whenever a new watched script is added to the wallet.
-
Field Details
-
ptr
public long ptrDeprecated.
-
-
Constructor Details
-
NativeScriptsChangeEventListener
public NativeScriptsChangeEventListener()Deprecated.
-
-
Method Details
-
onScriptsChanged
Deprecated.Description copied from interface:ScriptsChangeEventListener
Called whenever a new watched script is added to the wallet.- Specified by:
onScriptsChanged
in interfaceScriptsChangeEventListener
isAddingScripts
- will be true if added scripts, false if removed scripts.
-