-
Methods Method Description io.rong.imlib.setOnReceiveMessageListener(OnReceiveMessageListener) Sets the listener for receiving message events. io.rong.imlib.registerMessageType(java.lang.Class) Register custom message types Call this method after initialization but before connecting to register custom messages. io.rong.imlib.getHistoryMessages(ConversationType,java.lang.String,int,int) Retrieves a list of messages that meet the specified criteria in the conversation. io.rong.imlib.getHistoryMessages(ConversationType,java.lang.String,java.lang.String,int,int) Retrieves a list of messages in the conversation that meet the specified criteria. io.rong.imlib.getPrivateDownloadToken(java.lang.String,ResultCallback<String>) This interface is only applicable for private cloud SDK calls and is no longer supported in the current version.