public class LCIMImageMessage extends LCIMFileMessage
LCIMMessage.MessageIOType, LCIMMessage.MessageStatus| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_HEIGHT |
static String |
IMAGE_WIDTH |
DURATION, file, FORMATbytes, content, conversationId, currentClient, deliveredAt, from, ioType, mentionAll, mentionList, messageId, readAt, status, timestamp, uniqueToken, updateAt| Constructor and Description |
|---|
LCIMImageMessage() |
LCIMImageMessage(File localFile) |
LCIMImageMessage(LCFile file) |
LCIMImageMessage(String localPath) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getFileMetaData()
获取文件的metaData
|
int |
getHeight()
获取图片的高
|
protected String |
getQueryName() |
int |
getWidth()
获取图片的宽度
|
protected void |
parseAdditionalMetaData(Map<String,Object> meta,
JSONObject response) |
attachLCFile, equals, fulFillFileInfo, getAdditionalMetaData, getAttrs, getFile, getFileUrl, getLCFile, getLocalFilePath, getSize, getText, hashCode, setAttrs, setFile, setHasAdditionalMetaAttr, setProgressCallback, setText, uploadcomputeFieldAttribute, getContent, getMessage, getMessageType, setContent, setMessageTypedumpRawData, generateUniqueToken, getConversationId, getDeliveredAt, getFrom, getMentionList, getMentionListString, getMessageId, getMessageIOType, getMessageStatus, getReadAt, getReceiptTimestamp, getTimestamp, getUniqueToken, getUpdateAt, getUpdatedAt, isMentionAll, mentioned, parseJSON, parseJSONString, setConversationId, setFrom, setMentionAll, setMentionList, setMentionListString, setMessageId, setMessageIOType, setMessageStatus, setReadAt, setReceiptTimestamp, setTimestamp, setUniqueToken, setUpdateAt, setUpdatedAt, toJSONStringpublic static final String IMAGE_HEIGHT
public static final String IMAGE_WIDTH
public LCIMImageMessage()
public LCIMImageMessage(String localPath) throws IOException
IOExceptionpublic LCIMImageMessage(File localFile) throws IOException
IOExceptionpublic LCIMImageMessage(LCFile file)
public Map<String,Object> getFileMetaData()
getFileMetaData in class LCIMFileMessagepublic int getHeight()
public int getWidth()
protected String getQueryName()
getQueryName in class LCIMFileMessageprotected void parseAdditionalMetaData(Map<String,Object> meta, JSONObject response)
parseAdditionalMetaData in class LCIMFileMessageCopyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.