public class InLocationMsg extends InMsg
接收地理位置消息
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[location]]></MsgType>
<Location_X>23.134521</Location_X>
<Location_Y>113.358803</Location_Y>
<Scale>20</Scale>
<Label><![CDATA[位置信息]]></Label>
<MsgId>1234567890123456</MsgId>
</xml>
createTime, fromUserName, msgType, toUserName| 构造器和说明 |
|---|
InLocationMsg(String toUserName,
String fromUserName,
Integer createTime,
String msgType) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getLabel() |
String |
getLocation_X() |
String |
getLocation_Y() |
String |
getMsgId() |
String |
getScale() |
void |
setLabel(String label) |
void |
setLocation_X(String location_X) |
void |
setLocation_Y(String location_Y) |
void |
setMsgId(String msgId) |
void |
setScale(String scale) |
getCreateTime, getFromUserName, getMsgType, getToUserName, setCreateTime, setFromUserName, setMsgType, setToUserNamepublic 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 © 2017. All rights reserved.