Chat SDK for Android v1.3.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.MessageBody Class Referenceabstract
Inheritance diagram for io.agora.chat.MessageBody:
io.agora.chat.CmdMessageBody io.agora.chat.CustomMessageBody io.agora.chat.FileMessageBody io.agora.chat.LocationMessageBody io.agora.chat.TextMessageBody io.agora.chat.ImageMessageBody io.agora.chat.NormalFileMessageBody io.agora.chat.VideoMessageBody io.agora.chat.VoiceMessageBody

Public Member Functions

long operationTime ()
 
String operatorId ()
 
int operationCount ()
 

Detailed Description

The message body base class.

Member Function Documentation

◆ operationCount()

int io.agora.chat.MessageBody.operationCount ( )

Gets the number of times a message is modified.

A message can be modified at most five times.

Returns
The number of times a message is modified.

◆ operationTime()

long io.agora.chat.MessageBody.operationTime ( )

Gets the UNIX timestamp of the last message modification, in milliseconds.

Returns
The UNIX timestamp of the last message modification.

◆ operatorId()

String io.agora.chat.MessageBody.operatorId ( )

Gets the user ID of the operator that modified the message last time.

Returns
The user ID of the operator that modified the message last time.

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