setOnBinValueListener

fun setOnBinValueListener(listener: (binValue: String) -> Unit?)

Set a callback that will be called when the bin value changes.

Parameters

listener

The callback that will be called when the bin value changes. The bin value will be passed to it, this are up to the first 6 or 8 characters of the card number.