hyphenate_SDK3.0  3.8.5
hyphenatejavaIMSDK
Public Member Functions | Static Public Attributes | List of all members
com.hyphenate.chat.EMCustomMessageBody Class Reference
Inheritance diagram for com.hyphenate.chat.EMCustomMessageBody:
com.hyphenate.chat.EMMessageBody

Public Member Functions

 EMCustomMessageBody (String event)
 
String event ()
 
void setEvent (String event)
 
Map< String, String > getParams ()
 
void setParams (Map< String, String > params)
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 

Static Public Attributes

static final Parcelable.Creator< EMCustomMessageBodyCREATOR
 

Detailed Description

Custom message body

    EMCustomMessageBody body = new EMCustomMessageBody(event);

Member Function Documentation

String com.hyphenate.chat.EMCustomMessageBody.event ( )

Get the event

Returns
The event
Map<String, String> com.hyphenate.chat.EMCustomMessageBody.getParams ( )

Get the params map

Returns
Map
void com.hyphenate.chat.EMCustomMessageBody.setEvent ( String  event)

Set the event

void com.hyphenate.chat.EMCustomMessageBody.setParams ( Map< String, String >  params)

Set the params map

Member Data Documentation

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

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