fetchCountries

abstract fun fetchCountries(listener: RainbowListener<List<Country>, Unit>? = null)

Retrieves the current list of Country objects supported by Rainbow.

For some countries, the state field may be filled.

Parameters

listener

RainbowListenerCountry>, Unit>? (optional) callback invoked upon completion of the operation. Set to null if not required.