public class LCIMVideoMessage extends LCIMFileMessage
LCIMMessage.MessageIOType, LCIMMessage.MessageStatus
DURATION, file, FORMAT
bytes, content, conversationId, currentClient, deliveredAt, from, ioType, mentionAll, mentionList, messageId, readAt, status, timestamp, uniqueToken, updateAt
Constructor and Description |
---|
LCIMVideoMessage() |
LCIMVideoMessage(File localFile) |
LCIMVideoMessage(LCFile file) |
LCIMVideoMessage(String localPath) |
Modifier and Type | Method and Description |
---|---|
double |
getDuration()
获取视频的时长
|
Map<String,Object> |
getFileMetaData()
获取文件的metaData
|
protected String |
getQueryName() |
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 LCIMVideoMessage()
public LCIMVideoMessage(String localPath) throws IOException
IOException
public LCIMVideoMessage(File localFile) throws IOException
IOException
public LCIMVideoMessage(LCFile file)
public Map<String,Object> getFileMetaData()
getFileMetaData
in class LCIMFileMessage
public double getDuration()
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.