public class Msg4Voice extends Msg
head, MSG_ERROR, MSG_TYPE_EVENT, MSG_TYPE_IMAGE, MSG_TYPE_IMAGE_TEXT, MSG_TYPE_LINK, MSG_TYPE_LOCATION, MSG_TYPE_MUSIC, MSG_TYPE_TEXT, MSG_TYPE_VIDEO, MSG_TYPE_VOICE| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFormat() |
String |
getMediaId() |
String |
getMsgId() |
String |
getRecognition() |
void |
read(Document document)
读取消息内容
|
void |
setFormat(String format) |
void |
setMediaId(String mediaId) |
void |
setMsgId(String msgId) |
void |
setRecognition(String recognition) |
void |
write(Document document)
写入消息内容
|
getCreateTime, getElementContent, getFromUserName, getHead, getToUserName, setCreateTime, setFromUserName, setHead, setToUserNamepublic Msg4Voice(Msg4Head head)
public String getMediaId()
public void setMediaId(String mediaId)
mediaId - the mediaId to setpublic String getFormat()
public void setFormat(String format)
format - the format to setpublic String getRecognition()
public void setRecognition(String recognition)
recognition - the recognition to setpublic String getMsgId()
public void setMsgId(String msgId)
msgId - the msgId to setCopyright © 2018. All rights reserved.