search Contact By Name
abstract fun searchContactByName(name: String?, restrictToUserCompany: Boolean = false, listener: RainbowListener<List<IRainbowContact>, Unit>? = null)
Searches for contacts by name.
This method searches for contacts whose names match the specified string.
Parameters
name
The name or part of the name to search for.
restrict To User Company
Indicates whether to limit the search to contacts within the user's company. Default is false.
listener
RainbowListener, Unit> (optional) callback invoked upon completion of the operation. Set to null if not required.