Callback listeners
#
Observe Profile events IndividuallyTo observe profile related events, refer the below listeners where ever needed
#
Contacts Profiles FetchedIf the client application has mobile number as the primary identifier of the user and enabled contact sync they can fetch their contacts data and its completion is triggered in the following callbacks.
#
User blocked youIf a user blocked you then the following method will be triggered.
#
User unblocked youIf a user unblocked you then the following method will be triggered.
#
User Updated his profileIf a user updated his profile then the following method will be triggered.
#
User Deleted his profileIf a user deleted his profile then the following method will be triggered.
#
My Profile update statusOnce you initiated the update for your profile its status will be triggered by the following method.
#
Users blocked me list callbackWhen called to get the users who blocked me then the following method will be triggered.
#
Users I blocked list callbackWhen called to get the users who i blocked then the following method will be triggered.
#
User profile fetchedWhen called to get the profile detatil of a user from the server then the following method will be triggered.
#
Block a userWhen called to block a user then the following method will be triggered.
#
UnBlock a userWhen called to unblock a user then the following method will be triggered.
#
Admin blockedWhen Admin blocked then the following method will be triggered
#
Admin blocked othersWhen Admin blocked then the following method will be triggered
#
Contact Sync CompletedWhen Contact Sync completes then the following method will be triggered
#
Observe Profile events CollectivelyAssign the listener to the appropriate class to receive event updates. Extend the class and implement the necessary event listeners collectively for streamlined integration you can register your own listener by using the below method.
tip
There can be only one message listener at a time, if you set multiple times using the below method it will replace the old listener always.