Package org.bitcoinj.jni
Class NativeKeyChainEventListener
java.lang.Object
org.bitcoinj.jni.NativeKeyChainEventListener
- All Implemented Interfaces:
KeyChainEventListener
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
onKeysAdded
(List<ECKey> keys) Called whenever a new key is added to the key chain, whether that be via an explicit addition or due to some other automatic derivation.
-
Field Details
-
ptr
public long ptr
-
-
Constructor Details
-
NativeKeyChainEventListener
public NativeKeyChainEventListener()
-
-
Method Details
-
onKeysAdded
Description copied from interface:KeyChainEventListener
Called whenever a new key is added to the key chain, whether that be via an explicit addition or due to some other automatic derivation. See the documentation for yourKeyChain
implementation for details on what can trigger this event.- Specified by:
onKeysAdded
in interfaceKeyChainEventListener
-