agora_chat_SDK  3.8.2
agorajavachatSDK
Public Member Functions | Static Public Attributes | List of all members
io.agora.chat.LocationMessageBody Class Reference
Inheritance diagram for io.agora.chat.LocationMessageBody:
io.agora.chat.MessageBody

Public Member Functions

 LocationMessageBody (String address, double latitude, double longitude)
 
 LocationMessageBody (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< LocationMessageBodyCREATOR
 

Detailed Description

Location message body

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

Constructor & Destructor Documentation

io.agora.chat.LocationMessageBody.LocationMessageBody ( String  address,
double  latitude,
double  longitude 
)

Constructor of location message body

Parameters
address
latitude
longitude

Member Function Documentation

String io.agora.chat.LocationMessageBody.getAddress ( )

Get address

double io.agora.chat.LocationMessageBody.getLatitude ( )

Get latitude

double io.agora.chat.LocationMessageBody.getLongitude ( )

Get longitude

Member Data Documentation

final Parcelable.Creator<LocationMessageBody> io.agora.chat.LocationMessageBody.CREATOR
static
Initial value:
= new Parcelable.Creator<LocationMessageBody>() {
public LocationMessageBody createFromParcel(Parcel in) {
return new LocationMessageBody(in);
}
public LocationMessageBody[] newArray(int size) {
return new LocationMessageBody[size];
}
}

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