setOnBinLookupListener

fun setOnBinLookupListener(listener: (data: List<BinLookupData>) -> Unit?)

Set a callback that will be called when a bin lookup is performed.

Parameters

listener

The callback that will be called when a bin lookup is performed. A list of BinLookupData will be passed, which contains information about the detected brands.