Methods
Method |
Description |
io.rong.common.getMediaDownloadDir(Context)
|
Retrieves the storage path for media files. |
io.rong.common.getMediaDownloadDir(Context)
|
Get the storage path of media files |
io.rong.imlib.setConversationToTop(ConversationType,java.lang.String,java.lang.String,boolean,boolean,io.rong.imlib.IRongCoreCallback.ResultCallback)
|
Sets the pinned status of a conversation. |
io.rong.imlib.onError(int,T)
|
|
io.rong.imlib.onError(int,java.lang.String)
|
|
io.rong.imlib.getRTCConfig(java.lang.String,java.lang.String,long,io.rong.imlib.IRongCoreRTCCallback.IRTCConfigCallback)
|
|
io.rong.imlib.setConnectionStatusListener(io.rong.imlib.IRongCoreListener.ConnectionStatusListener)
|
Sets a listener for connection status changes. |
io.rong.imlib.setOnReceiveMessageListener(io.rong.imlib.IRongCoreListener.OnReceiveMessageListener)
|
Sets the listener for receiving message events. |
io.rong.imlib.registerMessageType(java.lang.Class)
|
Register custom message types Call this method after initialization and before connecting to register custom messages. |
io.rong.imlib.getPrivateDownloadToken(java.lang.String,io.rong.imlib.IRongCoreCallback.ResultCallback)
|
This interface is only applicable for private cloud SDK calls. |
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.getHistoryMessages(ConversationType,java.lang.String,int,int)
|
Retrieves a list of messages in the conversation that meet the specified criteria. |
io.rong.imlib.getTopForegroundActivity()
|
Retrieves the topmost Activity in the foreground. |
io.rong.imlib.sendReadReceiptMessage(ConversationType,java.lang.String,long)
|
Sends a read receipt for messages in a specific conversation. |
io.rong.imlib.setConversationToTop(ConversationType,java.lang.String,boolean,boolean,io.rong.imlib.IRongCoreCallback.ResultCallback)
|
Sets the pinned status of a conversation. |
io.rong.imlib.setUploadCallback(UploadCallback)
|
Sets the callback for uploading RLog logs to the server. |
io.rong.imlib.registerModulesByName(java.util.List)
|
Registration method for modules |
io.rong.imlib.model.getMentionedCount()
|
Retrieves the count of unread messages in this conversation where you were mentioned. |
io.rong.imlib.model.setUserId(java.lang.String)
|
Sets the user ID. |
io.rong.imlib.model.setTypeVivo(java.lang.String)
|
Vivo documentation Input Parameter Description |
io.rong.imlib.model.setTypeVivo(io.rong.imlib.model.AndroidConfig.VivoType)
|
Vivo documentation Input parameter description |
io.rong.imlib.model.setTypeVivo(java.lang.String)
|
|
io.rong.imlib.model.setTypeVivo(io.rong.imlib.model.AndroidConfig.VivoType)
|
|
io.rong.imlib.model.setOrder(int)
|
Sets the pull order. |
io.rong.imlib.listener.onSubscriptionSyncCompleted()
|
Marks the completion of subscription data synchronization. |
io.rong.message.obtain(Uri,Uri,int)
|
|
io.rong.message.obtain()
|
Creates an ImageMessage object. |
io.rong.message.obtain(Uri,Uri)
|
Generates an ImageMessage object. |
io.rong.message.obtain(Uri,Uri,boolean)
|
Generates an ImageMessage object. |
io.rong.message.obtain(Uri)
|
|
io.rong.message.setHandleMessageListener(IHandleMessageListener)
|
This interface has been deprecated and will not participate in the actual code logic. |
io.rong.push.registerGCM(Context)
|
Registers for GCM push notifications. |
io.rong.push.registerFCM(Context)
|
Registers for FCM push notifications. |
io.rong.push.registerMiPush(Context,java.lang.String,java.lang.String)
|
Registers Xiaomi Push. |
io.rong.push.registerHWPush(Context)
|
Registers for Huawei push notifications. |
io.rong.push.registerMZPush(Context,java.lang.String,java.lang.String)
|
Registers for Meizu push notifications. |
io.rong.push.resolveHWPushError(Activity,long)
|
Note: After upgrading Huawei Push to version 3.0, this interface has been deprecated and calling it has no effect. |
io.rong.push.recordNotificationEvent(java.lang.String)
|
Records the click event of a push notification when using the backend push feature in the Developer Console. |
io.rong.push.stopRongPush(Context)
|
Stops the RCpush notification service. |
io.rong.push.checkManifest(Context)
|
Helper method to verify whether the RCPush service configuration in the AndroidManifest is correct. |
io.rong.push.notification.sendNotification(Context,PushNotificationMessage)
|
Sends a notification. |