Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rtm.TopicMessageOptions Class Reference

Public Member Functions

 TopicMessageOptions ()
 
 TopicMessageOptions (String customType)
 
 TopicMessageOptions (String customType, long sendTs)
 
void setCustomType (String customType)
 
void setSendTs (long sendTs)
 
String getCustomType ()
 
long getSendTs ()
 
String toString ()
 

Detailed Description

topic message option

Constructor & Destructor Documentation

◆ TopicMessageOptions() [1/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions ( )

Creates a new instance of

with default parameters.

◆ TopicMessageOptions() [2/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions ( String  customType)

Creates a new instance of

with specified customType.

Parameters
customTypeThe custom type of the message

◆ TopicMessageOptions() [3/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions ( String  customType,
long  sendTs 
)

Creates a new instance of

with specified customType and sendTs.

Parameters
customTypeThe custom type of the message
sendTsThe time to calibrate data with media
io.agora.rtm.TopicMessageOptions.TopicMessageOptions
TopicMessageOptions()
Definition: TopicMessageOptions.java:24