public class ChatRoomNotificationEvent
extends java.lang.Object
ChatRoomNotificationEvent.Type
限定符和类型 | 类和说明 |
---|---|
static class |
ChatRoomNotificationEvent.Type |
构造器和说明 |
---|
ChatRoomNotificationEvent(long eventID,
ChatRoomNotificationEvent.Type type,
long fromUid,
java.util.List<java.lang.Long> toUidList,
long roomID,
long ctime) |
限定符和类型 | 方法和说明 |
---|---|
long |
getCtime()
获取事件发生时间,单位-毫秒
|
long |
getEventID()
获取事件ID
|
void |
getOperator(GetUserInfoCallback callback)
获取事件操作者用户信息
|
long |
getRoomID()
获取事件对应聊天室的房间ID
|
void |
getTargetUserInfoList(GetUserInfoListCallback callback)
获取目标用户信息列表
eg:如果type是 ChatRoomNotificationEvent.Type.add_chatroom_admin , 则表示targetUserInfoLists里这些用户被添加为房管 |
ChatRoomNotificationEvent.Type |
getType()
|
public ChatRoomNotificationEvent(long eventID, ChatRoomNotificationEvent.Type type, long fromUid, java.util.List<java.lang.Long> toUidList, long roomID, long ctime)
public long getEventID()
public long getRoomID()
public ChatRoomNotificationEvent.Type getType()
public void getOperator(GetUserInfoCallback callback)
callback
- 回调public void getTargetUserInfoList(GetUserInfoListCallback callback)
ChatRoomNotificationEvent.Type.add_chatroom_admin
, 则表示targetUserInfoLists里这些用户被添加为房管public long getCtime()