kin-android

kin-android / kin.sdk / KinAccount / addBalanceListener

addBalanceListener

abstract fun addBalanceListener(@NonNull listener: EventListener<Balance!>): ListenerRegistration!

Creates and adds listener for balance changes of this account, use returned ``ListenerRegistration to stop listening.

Note: Events will be fired on background thread.

Parameters

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