Chat SDK for Android v1.1.0
agora java chat SDK
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

The custom message body.

CustomMessageBody body = new CustomMessageBody(event);
String event()
Definition: CustomMessageBody.java:46

Member Function Documentation

◆ event()

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

Gets the event.

Returns
The event.

◆ getParams()

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

Gets the params map.

Returns
The Map list.

◆ setEvent()

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

Sets the event.

◆ setParams()

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

Sets the params map.

Member Data Documentation

◆ CREATOR

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: