注册

环信SDK3.1.0-3.3.1升级改动

1. EaseUI--EaseNotifer.java 
if(EMClient.getInstance().chatManager().isSlientMessage(message)){
return;
} (326, 175, 126)
改为if(EaseCommonUtils.isSilentMessage(messages.get(messages.size()-1))){
// 修改的地方 messages.size()-1)有的参数时message , 请注意
return;
}
2. EaseConversationAdapter 
performFiltering() -- conversationId() 替换  getUserName();  
3. LnConversationAdapter 
(378, 146, 258)(149  本来就存在)  conversationId() 替换  getUserName();
4.  EaseChatFragment 
(746) 少去两个方法 (onMessageReadAckReceived, onMessageDeliveryAckReceived)
添加两个方法(onMessageDelivered, onMessageRead)
5. EaseChatFragment
EMChatRoomChangeListener -- 全部方法被注释掉了!
6. EaseGroupRemoveListener 
EaseGroupListener  -- (1885)
7. CallActivity
(175) EMClient.getInstance().callManager().endCall(); 添加异常处理
8.  CallActivity 
(333) setReceipt() 改为 : setTo ()  
9.  conversationListFragment
 (118, 121) -- getUserName() 改为 : conversationId()
10.  DiagnoseActivity 
(67)  VERSION 修改! 
11. GroupDetailsActivity
(1638) 修改了GroupChangeLister 
12. GroupDetailsActivity 
(739) 修改了GroupChangeLister   添加方法 updateGroup(); refreshMembers();
13. MainActivity
修改了EMMessageListener()实现的方法  (309)
14.  MainActivity
修改了EMContactListener()要实现的方法 (435) 
15. ChatFragment 
(750) position = conversation.getAllMessages().indexOf(message);
16. PublicChatRooomsActivity
(132) ChatRoomChangeListener修改  -- (206) 复写监听方法
17. VideoCallActivity 
(274, 235) 电话断了  枚举变量修改   
18. VideoCallActivity 
(431, 432, 433 )  -- getVideoTimedelay 改为  getVideoLatency
getVideoFramerate 改为 getVideoFrameRate getVideoLostcnt 改为
19. VoiceCallActivity 
(203, )DISCONNNECTED (挂断电话) 改为  DISCONNECTED  (249)
ERROR --
20. EaseChatRow
(339) 重写updateView方法, 添加多参数方法  
21. EaseUI 
(147) options.setNumberOfMessagesLoaded(1); 方法弃用  
22.  EaseUI 
(176, 181) onMessageDeliveryAckReceived() onMessageReadAckReceived()方法弃用  重新添加两个方法 
onMessageDelivered 和 onMessageRead



23. DemoHelper
(524) 原有方法 : onInvitationReceived, onInvitationAccpted, onInvitationDeclined
onUserRemoved, onGroupDestroy, onApplicationReceived, onApplicationAccept, onApplicationDeclined
onAutoAcceptInvitationFromGroup,
onInvitationAccpted, -- 方法名错误 少个Accpted 改为 Accepted
onGroupDestroy 改为onGroupDestroyed
24. DemoHelper
(846) EMContactListener -- onContactAgreed 改为 onFriendRequestAccepted 
onContactRefused 改为 onFriendRequestDeclined
25. DemoHelper 
(1119) onMessageReadAckReceived, onMessageDeliveryAckReceived 去除      
添加 onMessageDelivered , onMessageRead
本文章纯属原创,转载请说明出处!  谢谢!!!!!!

1 个评论

赞一个

要回复文章请先登录注册