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, FORMAT
bytes, 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, upload
computeFieldAttribute, getContent, getMessage, getMessageType, setContent, setMessageType
dumpRawData, 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, toJSONString
public static final String IMAGE_HEIGHT
public static final String IMAGE_WIDTH
public LCIMImageMessage()
public LCIMImageMessage(String localPath) throws IOException
IOException
public LCIMImageMessage(File localFile) throws IOException
IOException
public LCIMImageMessage(LCFile file)
public Map<String,Object> getFileMetaData()
getFileMetaData
in class LCIMFileMessage
public int getHeight()
public int getWidth()
protected String getQueryName()
getQueryName
in class LCIMFileMessage
protected void parseAdditionalMetaData(Map<String,Object> meta, JSONObject response)
parseAdditionalMetaData
in class LCIMFileMessage
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.