hyphenate_SDK4.0 4.2.3-lite
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.chat.EMLocationMessageBody Class Reference
Inheritance diagram for com.hyphenate.chat.EMLocationMessageBody:
com.hyphenate.chat.EMMessageBody

Public Member Functions

 EMLocationMessageBody (String address, double latitude, double longitude, String buildingName)
 
String getAddress ()
 
double getLatitude ()
 
double getLongitude ()
 
String getBuildingName ()
 

Detailed Description

The location message body.

EMLocationMessageBody body = new EMLocationMessageBody(“location”, 30.010378, 104.358878, "建筑物名称");
EMLocationMessageBody(String address, double latitude, double longitude, String buildingName)
Definition: EMLocationMessageBody.java:50

Constructor & Destructor Documentation

◆ EMLocationMessageBody()

com.hyphenate.chat.EMLocationMessageBody.EMLocationMessageBody ( String  address,
double  latitude,
double  longitude,
String  buildingName 
)

Creates a location message body.

Parameters
addressThe address.
latitudeThe latitude.
longitudeThe longitude.
buildingNameThe building name.

Member Function Documentation

◆ getAddress()

String com.hyphenate.chat.EMLocationMessageBody.getAddress ( )

Gets the address.

◆ getBuildingName()

String com.hyphenate.chat.EMLocationMessageBody.getBuildingName ( )

Gets the building name.

◆ getLatitude()

double com.hyphenate.chat.EMLocationMessageBody.getLatitude ( )

Gets the latitude.

◆ getLongitude()

double com.hyphenate.chat.EMLocationMessageBody.getLongitude ( )

Gets the longitude.


The documentation for this class was generated from the following file: