Companion

object Companion

Properties

Link copied to clipboard
const val TYPE_IMAGE: Int = 1
Link copied to clipboard
const val TYPE_VIDEO: Int = 2

Functions

Link copied to clipboard
fun copyTo(chatId: String, msgId: String, w: Int = 0, h: Int = 0, key: String? = null, localPath: String? = null, name: String? = null, size: Long = 0, thumbnailKey: String? = null, contentType: String? = null, type: Int, isLocal: Boolean = false, isCollect: Boolean = false, isJumpChatEnable: Boolean = true): MediaBean
Link copied to clipboard
fun createImage(chatId: String, msgId: String, thumbnail: String?, key: String, width: Int, height: Int, mediaSize: Long, mimeType: String, localPath: String?, isLocal: Boolean): MediaBean
Link copied to clipboard
Link copied to clipboard
fun createVideo(chatId: String, msgId: String, cover: String?, key: String?, format: String?, fileName: String, localPath: String?, isLocal: Boolean): MediaBean