Package com.streamwide.smartms.lib.core.api.contact

Types

Link copied to clipboard
open class ContactsError : Error
fail reasons when loading contacts
Link copied to clipboard
open class InviteGuestError : Error
Link copied to clipboard
interface OnPublicVisibilityChangeListener
This callback represent the changing of the Public Visibility setting
Link copied to clipboard
interface STWContactDetailsCallback : STWCallback<T>
Load Contact details Callback
Link copied to clipboard
annotation class STWContactFilter
Link copied to clipboard
open class STWContactFilterOption
Object that contains contact filter options: Organization (group and user) CONNECTIVITY : CONNECTED / NOT_CONNECTED USER_STATUS :ON_DUTY / OFF_DUTY OPERATIONAL_STATUS_LIST : list of operation status Ids
Link copied to clipboard
open class STWContactManager
STWContactManager Public Class that manages all operations concerning contacts in the Application.
Link copied to clipboard
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
Link copied to clipboard
interface STWContactSettingRequestCallback : STWCallback<T>
The interface Stw contact setting request callback.
Link copied to clipboard
interface STWContactUpdateListener
Interface util to receive All contact Update events
Link copied to clipboard
interface STWGroupDetailsCallback : STWCallback<T>
Load group details Callback
Link copied to clipboard
interface STWInviteGuestCallback : STWCallback<T>
Link copied to clipboard
annotation class STWInviteGuestMode
Link copied to clipboard
interface STWLoadContactsCallback : STWCallback<T>
Load contacts Callback
Link copied to clipboard
open class STWSearchController
STWSearchControllerClass responsible to manage all search contact operationsTo create a new search Controller instance you need to write this code: 

STWSearchController searchController =
             STWContactManager.getInstance().createSearchController(new STWSearchController.STWContactSearchCallback() {
     &#64;Override
     public void onStart() {
            // Code ..
     }
     &#64;Override
     public void onComplete(List<ContactItem> businessContacts, List<ContactItem> smartMsContacts, String keyWord) {
            //Code...
     }
}, window);
This class offers several possible operations defined in the following list:
  • Search contact by keyword
  • Filter Search result
  • Load more items
 Search contact by keywor

.......
searchController.search(context, keyword);
........
Filter Search result

......
&#64;STWContactFilter int filter = STWContactFilter.GROUP;
searchController.filter(context, filter);
......
Load more items

.....
searchController.loadMore(context);
........
Link copied to clipboard
interface STWSubscriberConnectionStatusCallback : STWCallback<T>