Group message
5.1 Obtain an XHGroupManager Instance and add Group Event Listeners
示例:XHGroupManager groupManager = XHClient.getInstance().getGroupManager();
groupManager.addListener(new IXHGroupManagerListener() {
public void onMembersUpdeted(String groupID, int number) {
//member number change
}
public void onSelfKicked(String groupID) {
//You are removed from the current group
}
public void onGroupDeleted(String groupID) {
//Group deleted notification
}
public void onReceivedMessage(XHIMMessage message) {
//Receive group message
}
});
5.2 XHGroupManager API Description
/** |