STWContact Api
Functions
Call this function to add new subscriber in contact list
Add the given contact to the favorite list This method works asynchronously and will synchronize the favorite list with other accounts of User (Like webchat)
This method is used to enable/disable reverse display of contact name -Option enabled : contact name will be displayed like
Get only visible company contacts (users & groups)
Get All contacts (visible company contacts, all SmartMs and non SmartMS contacts)
Get All contacts (visible company contacts, all SmartMs and non SmartMS contacts)
Get paged contacts (visible company contacts, all SmartMs and non SmartMS contacts)
Get a list of single contact having international phone number that contains a search keyword
Get a list of single contact having international phone number that contains a search keyword
Call this method to check whether the contact feature is allowed or not.
Get only visible company contacts given filter
Get only visible company contacts given filter
Get only visible company contacts given contactFilterOption
Get company contacts
Get company contacts
Get only visible company groups
Get only visible company users
Get -if exist- the STWGroup having the specified group Id
Get the group contact having the specified groupName
Get -if exist- the STWContact having the specified contact Id
Get -if exist- the STWSingleContact having the specified international number
Get -if exist- the STWSingleContact as Flow having the specified international number
Get list of contact as flow by their international phone number
Get the list of :
Get contacts list based on the phone number list
Get default Operational Status Filters
Gets the list of favorite contacts.
Gets the list of favorite contacts as LiveData.
Get only visible company contacts given contactFilterOption
Call this method to synchronize local contacts given contactFilterOption and search contact
Get only visible company contacts given contactFilterOption
Get -if exist- the STWContact having the specified group Id
Suspend method used to get a group by groupId and request updates from the remote if the group last fetch date is old
Call this method to get group details as live data
Call this method to get group members as live data
Call this method to get update for the given grou id this method should get details from remote server, then update the local database
Get the list of groups in which the current subscriber is member
Get the current logged user
Get non SmartMS contacts (system contacts)
Get non SmartMS contacts (system contacts)
Get operational status related to specified identifier
Get the operational status list
Get the role icon for a specific PhoneItem
Get the role icon picture for the a specific roleIconId.
Get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts
Get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts
Get All contacts from other departments, other companies and other SmartMs Apps witch are synced with local contacts
Get the SmartMs STWPhone related to the specified contact. This method is useful only for single contacts.
Call this method to get subscriber details as live data from Local Database
Call this method to get update for the given subscriber this method should get details from remote server, then update the local database
Get the list of STWContact
Call this method to get group details (Suspend way)
Call this function to get subscriber detail from Local Database as suspended method
Get the STWPhone corresponding to the current user account
Call this method to invite a Guest
Whether the default filter for all users allowed or not
Call this method to check whether the display of disconnected users feature is allowed or not.
Call this method to check whether the external user incorporation feature is allowed or not.
Call this method to check whether the external user invitation feature is allowed or not.
Check whether the IconPerRole feature is enabled.
In some organizations and for performance reasons the server may not return the user availability (on/off duty) for all subscribers. The value can only be retrieved when requesting for subscriber's details
In some organizations and for performance reasons the server may not return the operational status for all users. The value can only be retrieved when requesting for subscriber's details
Call this function to check if i'm subscribe in the PROBE TEST.
Call this method to check whether the Public visibility can be changed on user settings or not
Call this method to check if the Public Visibility is enabled or not
Check if reverse contact name option is enabled.
Call this method to check whether the user alias feature is allowed or not.
Call this method to check whether the user alias settings can be modified by the client or not.
Call this method to force updated of system contacts
remove the given contact from the favorite list This method works asynchronously and will synchronize the favorite list with other accounts of User (Like webchat)
Call this function to remove contact from the contact list
Call this method to search for contacts. A request will be send to server from the local database to retrieve searched contacts and merged with local contacts
This method will first emit the filtered Company contacts from the local database and then request the filtered company contacts from the remote server, it will then emit the result as soon as it is received.
Call this method to search for contacts. A request will be send to server from the local database to retrieve searched contacts and merged with local contacts The max number of contacts to be retrieved should be >= 1 and <=50.
Call this method to change the user Public Visibility
Call this method to synchronize local contacts with server to get contacts that exist in the phone address book, and then contacts will be updated automatically every 10 minutes
Update the favorite contacts list to the given list This method works asynchronously and will synchronize the favorite list with other accounts of User (Like webchat)
Inherited functions
Subscribes to the specific eventTypes of the client.
Subscribes to the specific eventTypes of the client, in the lifecycle of lifecycleOwner.
Subscribes to the specific eventTypes of the client with additional filter.
Subscribes to the specific eventTypes of the client with additional filter, in the lifecycle of lifecycleOwner.
Subscribes for the next event with the given eventType.