Class NativeKeyChainEventListener

  • All Implemented Interfaces:
    KeyChainEventListener

    @Deprecated
    public class NativeKeyChainEventListener
    extends java.lang.Object
    implements KeyChainEventListener
    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

      Fields 
      Modifier and Type Field Description
      long ptr
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void onKeysAdded​(java.util.List<ECKey> keys)
      Deprecated.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ptr

        public long ptr
        Deprecated.
    • Constructor Detail

      • NativeKeyChainEventListener

        public NativeKeyChainEventListener()
        Deprecated.
    • Method Detail

      • onKeysAdded

        public void onKeysAdded​(java.util.List<ECKey> keys)
        Deprecated.
        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 your KeyChain implementation for details on what can trigger this event.
        Specified by:
        onKeysAdded in interface KeyChainEventListener