kin-android

kin-android / kin.sdk / KinAccount / addPaymentListener

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.

Parameters

listener - EventListener<PaymentInfo!>: listener object for payment events