public class Msg4Location 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| 构造器和说明 |
|---|
Msg4Location()
开发者调用
|
Msg4Location(Msg4Head head)
程序内部调用
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getLabel() |
String |
getLocation_X() |
String |
getLocation_Y() |
String |
getMsgId() |
String |
getScale() |
void |
read(Document document)
读取消息内容
|
void |
setLabel(String label) |
void |
setLocation_X(String location_X) |
void |
setLocation_Y(String location_Y) |
void |
setMsgId(String msgId) |
void |
setScale(String scale) |
void |
write(Document document)
写入消息内容
|
getCreateTime, getElementContent, getFromUserName, getHead, getToUserName, setCreateTime, setFromUserName, setHead, setToUserNamepublic Msg4Location()
public Msg4Location(Msg4Head head)
head - 消息头public String getLocation_X()
public void setLocation_X(String location_X)
public String getLocation_Y()
public void setLocation_Y(String location_Y)
public String getScale()
public void setScale(String scale)
public String getLabel()
public void setLabel(String label)
public String getMsgId()
public void setMsgId(String msgId)
Copyright © 2018. All rights reserved.