Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.CustomMessageBody Class Reference
Inheritance diagram for io.agora.chat.CustomMessageBody:
io.agora.chat.MessageBody

Public Member Functions

String event ()
 
void setEvent (String event)
 
Map< String, String > getParams ()
 
void setParams (Map< String, String > params)
 
- Public Member Functions inherited from io.agora.chat.MessageBody
long operationTime ()
 
String operatorId ()
 
int operationCount ()
 

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.


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