onBalance

abstract fun onBalance(@Nullable accountId: String, @NonNull balance: Balance.Record)

Balance information received or changed.

This method may be called only when feature Balance is provided.

Parameters

accountId

ID of the account that changed balance; null if feature Multiple Accounts is not provided.

balance

The new balance.