onContactSelected

abstract fun onContactSelected(callback: ContactChooser.(List<Contact>) -> Unit)

Specify the callback when the contact choice is finished. If specified multiple times, the last callback overrides the previous ones.

Parameters

callback

The callback which is called when the contact choice is finished. Takes the list of chosen contacts as argument.