Callback listeners
#
Observe Group Events IndividuallyTo observe group related events you can implement the following listeners
#
Group Profile FetchedWhen the request for fetching a group profile is completed successfully this callback will be triggered.
#
Group notification message receivedWhen events like new member added or member removed a notification message will be generated locally and inserted in the local database. After insertion this callback will be triggered.
#
New group createdWhen a new group was created like when someone added you to a group this callback will be triggered.
#
Group profile updatedWhen a group profile is updated this callback will be triggered.
#
New member added to groupWhen a new member is added to the group this callback will be triggered.
#
Member removed from groupWhen a member is removed from the group this callback will be triggered.
#
Fetching group membersWhen a group is created, members of that group will be fetched once sucessfully fetched this callback will be triggered.
#
Group member became an adminWhen a group member became an admin this callback will be triggered.
#
Admin access revokedWhen a group member's admin access is revoked this callback will be triggered.
#
Member left from the groupWhen a member left the group this callback will be triggered.
#
Group deleted locallyWhen the current user delete a group locally this callback will be triggered.
#
Observing the Group 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.