public class LCIMAudioMessage 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 |
---|
LCIMAudioMessage() |
LCIMAudioMessage(File localFile) |
LCIMAudioMessage(LCFile file) |
LCIMAudioMessage(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 LCIMAudioMessage()
public LCIMAudioMessage(String localPath) throws IOException
IOException
public LCIMAudioMessage(File localFile) throws IOException
IOException
public LCIMAudioMessage(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.