Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members Class Reference
Inheritance diagram for

Public Member Functions

 LocationMessageBody (String address, double latitude, double longitude, String buildingName)
String getAddress ()
double getLatitude ()
double getLongitude ()
String getBuildingName ()
- Public Member Functions inherited from
long operationTime ()
String operatorId ()
int operationCount ()

Detailed Description

The location message body.

LocationMessageBody body = new LocationMessageBody(“location”, 30.010378, 104.358878, "building name");
LocationMessageBody(String address, double latitude, double longitude, String buildingName)

Constructor & Destructor Documentation

◆ LocationMessageBody() ( String  address,
double  latitude,
double  longitude,
String  buildingName 

Creates a location message body.

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

Member Function Documentation

◆ getAddress()

String ( )

Gets the address.

◆ getBuildingName()

String ( )

Gets the building name.

◆ getLatitude()

double ( )

Gets the latitude.

◆ getLongitude()

double ( )

Gets the longitude.

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