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