public interface SuperTeamServiceObserver
Modifier and Type | Method and Description |
---|---|
void |
observeMemberRemove(Observer<java.util.List<SuperTeamMember>> observer,
boolean register)
Observer for removing a group member
|
void |
observeMemberUpdate(Observer<java.util.List<SuperTeamMember>> observer,
boolean register)
Observer for updating the profile of a group member.
|
void |
observeReceiveMessage(Observer<java.util.List<IMMessage>> observer,
boolean register)
Register or unregister the observer for receiving messages.
|
void |
observeTeamRemove(Observer<SuperTeam> observer,
boolean register)
Observer for removing a group.
|
void |
observeTeamUpdate(Observer<java.util.List<SuperTeam>> observer,
boolean register)
Observer for group profile changes.
|
void observeReceiveMessage(Observer<java.util.List<IMMessage>> observer, boolean register)
observer
- The observer. The parameter is the list of received messages. All messages in the list are sent from the same chat object.register
- true: register the observer; false: unregister the observer.void observeTeamUpdate(Observer<java.util.List<SuperTeam>> observer, boolean register)
observer
- The observer. The parameter is a list of groups whose profiles are updated.register
- true: register the observer; false: unregister the observervoid observeTeamRemove(Observer<SuperTeam> observer, boolean register)
observer
- The observer. The parameter is the profile of a removed group profile. In this case, the isMyTeam interface returns false.register
- true: register the observer; false: unregister the observervoid observeMemberUpdate(Observer<java.util.List<SuperTeamMember>> observer, boolean register)
observer
- The observer. The parameter is the list of group members whose profiles are updated.register
- true: register the observer; false: unregister the observervoid observeMemberRemove(Observer<java.util.List<SuperTeamMember>> observer, boolean register)
observer
- The observer. The parameter is the list of removed group member.register
- true: register the observer; false: unregister the observer