QChatRoomServiceListener
interface com.qlive.chatservice.QChatRoomServiceListener
聊天室监听
Index
方法
方法
onUserJoin
- public void onUserJoin(String memberID)
-
On user join.
Parameters-
memberID: String
the member id
Returns void -
onUserLeft
- public void onUserLeft(String memberID)
-
On user left.
Parameters-
memberID: String
the member id
Returns void -
onReceivedC2CMsg
- public void onReceivedC2CMsg(TextMsg msg)
-
On received c 2 c msg.
Parameters-
msg: TextMsg
the msg
Returns void -
onReceivedGroupMsg
- public void onReceivedGroupMsg(TextMsg msg)
-
On received group msg.
Parameters-
msg: TextMsg
the msg
Returns void -
onUserKicked
- public void onUserKicked(String memberID)
-
On user kicked.
Parameters-
memberID: String
the member id
Returns void -
onUserBeMuted
- public void onUserBeMuted(boolean isMute,String memberID,long duration)
-
On user be muted.
Parameters-
isMute: boolean
the is mute
-
memberID: String
the member id
-
duration: long
the duration
Returns void -
onAdminAdd
- public void onAdminAdd(String memberID)
-
On admin add.
Parameters-
memberID: String
the member id
Returns void -
onAdminRemoved
- public void onAdminRemoved(String memberID,String reason)
-
On admin removed.
Parameters-
memberID: String
the member id
-
reason: String
the reason
Returns void -
onBlockAdd
- public void onBlockAdd(String memberID)
-
添加黑名单
Parameters-
memberID: String
Returns void -
onBlockRemoved
- public void onBlockRemoved(String memberID)
-
移除黑名单
Parameters-
memberID: String
Returns void -
文档反馈
(如有产品使用问题,请 提交工单)