addMessageEvent method
- String identifier,
- ChatMessageEvent event
~english Adds a message status listener.
Param identifier
The ID of the message status listener. The ID is required when you delete a message status listener.
Param event
The message status event.
~end
~chinese 添加消息状态监听。
Param identifier
消息状态监听 ID, 删除监听时需提供。
Param event
消息状态事件。
~end
Implementation
void addMessageEvent(String identifier, ChatMessageEvent event) {
MessageCallBackManager.getInstance.addMessageEvent(identifier, event);
}