getAdvancedSuggestions

abstract fun getAdvancedSuggestions(limit: Int, offset: Int, listener: RainbowListener<Map<ContactSuggestionType, List<IRainbowContact>>, Unit>? = null)

Retrieves company contact suggestions grouped by category. The callback returns a Map<ContactSuggestionType, List<IRainbowContact>>.

Parameters

limit

The maximum number of suggestions to retrieve.

offset

The position of the first suggestion to retrieve.

listener

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