Callback listeners
Observe Profile events Individually#
To observe profile related events, refer the below listeners where ever needed
Contacts Profiles Fetched#
If 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 you#
If a user blocked you then the following method will be triggered.
User unblocked you#
If a user unblocked you then the following method will be triggered.
User Updated his profile#
If a user updated his profile then the following method will be triggered.
User Deleted his profile#
If a user deleted his profile then the following method will be triggered.
My Profile update status#
Once you initiated the update for your profile its status will be triggered by the following method.
Users blocked me list callback#
When called to get the users who blocked me then the following method will be triggered.
Users I blocked list callback#
When called to get the users who i blocked then the following method will be triggered.
User profile fetched#
When called to get the profile detatil of a user from the server then the following method will be triggered.
Block a user#
When called to block a user then the following method will be triggered.
UnBlock a user#
When called to unblock a user then the following method will be triggered.
Admin blocked#
When Admin blocked then the following method will be triggered
Admin blocked others#
When Admin blocked then the following method will be triggered
Contact Sync Completed#
When Contact Sync completes then the following method will be triggered
Observe Profile events Collectively#
Assign 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.