pollForBalance

abstract fun pollForBalance(period: Long = 30, timeUnit: TimeUnit = TimeUnit.SECONDS, tokenProvider: ProfileTokenProvider)

Start this to poll for balance updates. Can be started with default values or with custom values. Its default wait time for each update is 30 seconds.

Parameters

period

The time between each update.

timeUnit

The time unit used for the period.

tokenProvider