Class LocationContent
java.lang.Object
com.bytedesk.core.base.BaseContent
com.bytedesk.core.message.content.LocationContent
- All Implemented Interfaces:
Serializable
位置消息内容类
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseContent
fromJson, toJson
-
Field Details
-
latitude
-
longitude
-
address
-
label
-
-
Constructor Details
-
LocationContent
public LocationContent()
-
-
Method Details
-
fromJson
从JSON字符串反序列化为LocationContent对象- Parameters:
json
- JSON字符串- Returns:
- LocationContent对象,如果解析失败返回null
-