|
| EMLocationMessageBody (String address, double latitude, double longitude) |
|
| EMLocationMessageBody (EMALocationMessageBody body) |
|
String | getAddress () |
|
double | getLatitude () |
|
double | getLongitude () |
|
String | toString () |
|
int | describeContents () |
|
void | writeToParcel (Parcel dest, int flags) |
|
boolean | equals (Object o) |
|
int | hashCode () |
|
位置信息消息
EMLocationMessageBody body = new EMLocationMessageBody(“地址”, 30.010378, 104.358878);
- 版本
- 3.0
◆ EMLocationMessageBody()
com.hyphenate.chat.EMLocationMessageBody.EMLocationMessageBody |
( |
String |
address, |
|
|
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
创建一个位置信息
- 参数
-
address | 地址 |
latitude | 纬度 |
longitude | 经度 |
◆ getAddress()
String com.hyphenate.chat.EMLocationMessageBody.getAddress |
( |
| ) |
|
◆ getLatitude()
double com.hyphenate.chat.EMLocationMessageBody.getLatitude |
( |
| ) |
|
◆ getLongitude()
double com.hyphenate.chat.EMLocationMessageBody.getLongitude |
( |
| ) |
|
◆ CREATOR
该类的文档由以下文件生成:
- hyphenatechatsdk/src/com/hyphenate/chat/EMLocationMessageBody.java