-
代表原来api,+
代表修改后的api。 @Deprecated代表已过时的api,后面会带着替代的api
EMGroupManager
+ public EMCursorResult<String> fetchGroupMembers(String groupId, String cursor, int pageSize) throws HyphenateException
+ public void asyncFetchGroupMembers(final String groupId, final String cursor, final int pageSize, final EMValueCallBack<EMCursorResult<String>> callback);
+ public EMGroup changeOwner(String groupId, String newOwner) throws HyphenateException
+ public void asyncChangeOwner(final String groupId, final String newOwner, final EMValueCallBack<EMGroup> callBack);
+ public EMGroup addGroupAdmin(final String groupId, final String admin) throws HyphenateException
+ public void asyncAddGroupAdmin(final String groupId, final String admin, final EMValueCallBack<EMGroup> callBack);
+ public EMGroup removeGroupAdmin(String groupId, String admin) throws HyphenateException
+ public void asyncRemoveGroupAdmin(final String groupId, final String admin, final EMValueCallBack<EMGroup> callBack);
+ public EMGroup muteGroupMembers(String groupId, List<String> muteMembers, long duration) throws HyphenateException
+ public void aysncMuteGroupMembers(final String groupId, final List<String> muteMembers, final long duration, final EMValueCallBack<EMGroup> callBack);
+ public EMGroup unMuteGroupMembers(String groupId, List<String> members) throws HyphenateException
+ public void asyncUnMuteGroupMembers(final String groupId, final List<String> members, final EMValueCallBack<EMGroup> callBack);
+ public Map<String, Long> fetchGroupMuteList(String groupId, int pageNum, int pageSize) throws HyphenateException
+ public void asyncFetchGroupMuteList(final String groupId, final int pageNum, final int pageSize, final EMValueCallBack<Map<String, Long>> callBack);
+ public List<String> fetchGroupBlackList(String groupId, int pageNum, int pageSize) throws HyphenateException
+ public void asyncFetchGroupBlackList(final String groupId, final int pageNum, final int pageSize, final EMValueCallBack<List<String>> callBack);
EMChatRoomManager
+ public EMChatRoom changeChatRoomSubject(String chatRoomId, String newSubject);
+ public void asyncChangeChatRoomSubject(final String chatRoomId, final String newSubject, final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom changeChatroomDescription(String chatRoomId, String newDescription);
+ public void asyncChangeChatroomDescription(final String chatRoomId, final String newDescription, final EMValueCallBack<EMChatRoom> callBack);
+ public List<String> fetchChatRoomMembers(String chatRoomId, int pageNum, int pageSize);
+ public void asyncFetchChatRoomMembers(final String chatRoomId, final int pageNum, final int pageSize, final EMValueCallBack<List<String>> callBack);
+ public EMChatRoom muteChatRoomMembers(String chatRoomId, List<String> muteMembers, long duration);
+ public void asyncMuteChatRoomMembers(final String chatRoomId, final List<String> muteMembers, final long duration, final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom unMuteChatRoomMembers(String chatRoomId, List<String> members);
+ public void asyncUnMuteChatRoomMembers(final String chatRoomId, final List<String> members,final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom changeOwner(String chatRoomId, String newOwner);
+ public void asyncChangeOwner(final String chatRoomId, final String newOwner, final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom addChatRoomAdmin(String chatRoomId, String admin);
+ public void asyncAddChatRoomAdmin(final String chatRoomId, final String admin, final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom removeChatRoomAdmin(String chatRoomId, String admin);
+ public void asyncRemoveChatRoomAdmin(final String chatRoomId, final String admin,final EMValueCallBack<EMChatRoom> callBack);
+ public Map<String, Long> fetchChatRoomMuteList(String chatRoomId, int pageNum, int pageSize);
+ public void asyncFetchChatRoomMuteList(final String chatRoomId, final int pageNum, final int pageSize,final EMValueCallBack<Map<String, Long>> callBack);
+ public EMChatRoom removeChatRoomMembers(String chatRoomId, List<String> members);
+ public void asyncRemoveChatRoomMembers(final String chatRoomId, final List<String> members,final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom blockChatroomMembers(String chatRoomId, List<String> members);
+ public void asyncBlockChatroomMembers(final String chatRoomId, final List<String> members, final EMValueCallBack<EMChatRoom> callBack);
+ public EMChatRoom unblockChatRoomMembers(String chatRoomId, List<String> members);
+ public void asyncUnBlockChatRoomMembers(final String chatRoomId, final List<String> members,final EMValueCallBack<EMChatRoom> callBack);
+ public List<String> fetchChatRoomBlockList(String chatRoomId, int pageNum, int pageSize);
+ public void asyncFetchChatRoomBlockList(final String chatRoomId, final int pageNum, final int pageSize,final EMValueCallBack<EMChatRoom> callBack);
EMGroupChangeListener.java
+ void onMuteListAdded(String groupId, final List<String> mutes, final long muteExpire);
+ void onMuteListRemoved(String groupId, final List<String> mutes);
+ void onAdminAdded(String groupId, String administrator);
+ void onAdminRemoved(String groupId, String administrator);
+ void onOwnerChanged(String groupId, String newOwner, String oldOwner);
EMChatRoomChangeListener
+ void onMuteListAdded(final String chatRoomId, final List<String> mutes, final long expireTime);
+ void onMuteListRemoved(final String chatRoomId, final List<String> mutes);
+ void onAdminAdded(final String chatRoomId, final String admin);
+ void onAdminRemoved(final String chatRoomId, final String admin);
+ void onOwnerChanged(final String chatRoomId, final String newOwner, final String oldOwner);
EMChatRoom
+ public List<String> getAdminList();
+ public List<String> getBlockList();
+ public Map<String, Long> getMuteList();
EMGroup
- public void setStyle(int style);
+ public int getMaxUserCount();
+ public List<String> getAdminList();
+ public List<String> getBlackList();
+ public Map<String, Long> getMuteList();
+ public String getDescription();
EMGroupOption
+ public boolean inviteNeedConfirm = false;
+ public String extField;