kin-android / kin.sdk / KinAccount / addPaymentListener
abstract fun addPaymentListener(@NonNull listener:
EventListener
<
PaymentInfo
!>):
ListenerRegistration
!
Creates and adds listener for payments concerning this account, use returned ``ListenerRegistration
to stop listening.
Note: Events will be fired on background thread.
listener
- EventListener<PaymentInfo!>: listener object for payment events