hyphenate_SDK3.0  3.8.5
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

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)
 

Static Public Attributes

static final Parcelable.Creator< EMLocationMessageBodyCREATOR
 

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: