你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
搜索问题、话题或人...
输入关键字进行搜索
搜索:
问题
文章
开源项目
教程
FAQ
· · ·
活动
帮助
话题
周刊
登录
注册
环信_Android
android 消息监听,来了群聊和私聊该如何监听。
android该怎么去实现群聊和私聊来了消息的监听,并且红点显示,方法是哪个。新手集成环信,望大神告知。
没有找到相关结果
已邀请:
与内容相关的链接
提交
1 个回复
[已注销]
消息监听是想要在哪里接收消息就在哪里去做消息监听,也可以做全局的消息监听在初始化之后去做application中,如图是全局的消息监听示例。关于小红点环信做的是控件的形式,调用获未读消息,参考文档:3.X方法
http://docs.easemob.com/im/200androidclientintegration/50singlechat#获取未读消息数量
2.x方法:
http://docs.easemob.com/start/200androidcleintintegration/50singlechat#获取未读消息数量
在跳转聊天界面之后去做未读消息数量清零;
3.x
http://docs.easemob.com/im/200androidclientintegration/50singlechat#未读消息数清零
2.x
http://docs.easemob.com/start/200androidcleintintegration/50singlechat#未读消息数清零
要回复问题请先
登录
或
注册
发起人
妙木山仙人i
问题状态
最新活动:
2017-03-25 10:45
浏览:
2499
关注:
2
人
1 个回复
[已注销]
2.x方法:
http://docs.easemob.com/start/200androidcleintintegration/50singlechat#获取未读消息数量
在跳转聊天界面之后去做未读消息数量清零;
3.x
http://docs.easemob.com/im/200androidclientintegration/50singlechat#未读消息数清零
2.x
http://docs.easemob.com/start/200androidcleintintegration/50singlechat#未读消息数清零