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

Public Member Functions

 CustomMessageBody (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< CustomMessageBodyCREATOR
 

Detailed Description

Custom message body

    CustomMessageBody body = new CustomMessageBody(event);

Member Function Documentation

String io.agora.chat.CustomMessageBody.event ( )

Get the event

Returns
The event
Map<String, String> io.agora.chat.CustomMessageBody.getParams ( )

Get the params map

Returns
Map
void io.agora.chat.CustomMessageBody.setEvent ( String  event)

Set the event

void io.agora.chat.CustomMessageBody.setParams ( Map< String, String >  params)

Set the params map

Member Data Documentation

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

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