STWContactSearchCallback

interface STWContactSearchCallback : STWCallback<T>

This interface is a Callback useful to receive all search results Callback initialization is needed one single time for all search operations for the same screen

Functions

Link copied to clipboard
abstract fun onComplete(    @Nullable businessContacts: List<ContactItem>,     @Nullable smartMsContacts: List<ContactItem>,     @Nullable keyWord: String)
Called at the end of all search operations to return the search result PS: if search operation from company fails for any reason, the search operation will be performed on local data base.
Link copied to clipboard
abstract fun onStart()
Called at initialization step of search operation

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.