hyphenate_SDK4.0 4.6.0
hyphenate java IM SDK
|
Public 成员函数 | |
EMLocationMessageBody (String address, double latitude, double longitude, String buildingName) | |
String | getAddress () |
double | getLatitude () |
double | getLongitude () |
String | getBuildingName () |
位置信息消息体。
com.hyphenate.chat.EMLocationMessageBody.EMLocationMessageBody | ( | String | address, |
double | latitude, | ||
double | longitude, | ||
String | buildingName | ||
) |
创建一个位置信息体。
address | 地址。 |
latitude | 纬度。 |
longitude | 经度。 |
buildingName | 建筑物名称。 |
String com.hyphenate.chat.EMLocationMessageBody.getAddress | ( | ) |
获取地址。
String com.hyphenate.chat.EMLocationMessageBody.getBuildingName | ( | ) |
获取建筑物名称。
double com.hyphenate.chat.EMLocationMessageBody.getLatitude | ( | ) |
获取纬度。
double com.hyphenate.chat.EMLocationMessageBody.getLongitude | ( | ) |
获取经度。