hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public Member Functions | Static Public Attributes | List of all members
com.hyphenate.chat.EMLocationMessageBody Class Reference
Inheritance diagram for com.hyphenate.chat.EMLocationMessageBody:
com.hyphenate.chat.EMMessageBody com.hyphenate.chat.EMBase< EMAMessageBody >

Public Member Functions

 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)
 
- Public Member Functions inherited from com.hyphenate.chat.EMBase< EMAMessageBody >
boolean equals (Object o)
 
int hashCode ()
 

Static Public Attributes

static final Parcelable.Creator< EMLocationMessageBodyCREATOR
 

Additional Inherited Members

- Protected Attributes inherited from com.hyphenate.chat.EMBase< EMAMessageBody >
emaObject
 

Detailed Description

location message body.

EMLocationMessageBody body = new EMLocationMessageBody(“地址”, 30.010378, 104.358878);

Constructor & Destructor Documentation

◆ EMLocationMessageBody()

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

constructor of location message body

Parameters
address
latitude
longitude

Member Function Documentation

◆ getAddress()

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

get address

◆ getLatitude()

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

get latitude

◆ getLongitude()

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

get longitude

Member Data Documentation

◆ CREATOR

final Parcelable.Creator<EMLocationMessageBody> com.hyphenate.chat.EMLocationMessageBody.CREATOR
static
Initial value:
= new Parcelable.Creator<EMLocationMessageBody>() {
public EMLocationMessageBody createFromParcel(Parcel in) {
return new EMLocationMessageBody(in);
}
public EMLocationMessageBody[] newArray(int size) {
return new EMLocationMessageBody[size];
}
}
EMLocationMessageBody(String address, double latitude, double longitude)
Definition: EMLocationMessageBody.java:47

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