hyphenate_SDK3.0  3.6.2
hyphenatejavaIMSDK
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

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

constructor of location message body

Parameters
address
latitude
longitude

Member Function Documentation

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

get address

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

get latitude

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

get longitude

Member Data Documentation

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];
}
}

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