download Media
public abstract void downloadMedia(ConversationType conversationType, String targetId, RongIMClient.MediaType mediaType, String imageUrl, RongIMClient.DownloadMediaCallback callback)
Downloads a multimedia file.
If the file is available in the local cache, it will be retrieved directly from the cache. Otherwise, it will be downloaded from the server.
Parameters
conversation Type
The type of conversation.
target Id
The conversation ID. Depending on the conversationType, it could be a user ID, discussion group ID, group ID, or chatroom ID.
media Type
The type of file.
image Url
The URL of the file.
callback
The callback for the file download.