public class Msg4Video 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 |
getMediaId() |
String |
getMsgId() |
String |
getThumbMediaId() |
void |
read(Document document)
读取消息内容
|
void |
setMediaId(String mediaId) |
void |
setMsgId(String msgId) |
void |
setThumbMediaId(String thumbMediaId) |
void |
write(Document document)
写入消息内容
|
getCreateTime, getElementContent, getFromUserName, getHead, getToUserName, setCreateTime, setFromUserName, setHead, setToUserNamepublic Msg4Video()
public Msg4Video(Msg4Head head)
head - 消息头public String getMediaId()
public void setMediaId(String mediaId)
mediaId - the mediaId to setpublic String getThumbMediaId()
public void setThumbMediaId(String thumbMediaId)
thumbMediaId - the thumbMediaId to setpublic String getMsgId()
public void setMsgId(String msgId)
msgId - the msgId to setCopyright © 2018. All rights reserved.