Package io.agora.rtm
Class TopicMessageOptions
java.lang.Object
io.agora.rtm.TopicMessageOptions
topic message option
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofTopicMessageOptionswith default parameters.TopicMessageOptions(String customType) Creates a new instance ofTopicMessageOptionswith specified customType.TopicMessageOptions(String customType, long sendTs) Creates a new instance ofTopicMessageOptionswith specified customType and sendTs. -
Method Summary
Modifier and TypeMethodDescriptionlongvoidsetCustomType(String customType) voidsetSendTs(long sendTs) toString()
-
Constructor Details
-
TopicMessageOptions
public TopicMessageOptions()Creates a new instance ofTopicMessageOptionswith default parameters. -
TopicMessageOptions
Creates a new instance ofTopicMessageOptionswith specified customType.- Parameters:
customType- The custom type of the message
-
TopicMessageOptions
Creates a new instance ofTopicMessageOptionswith specified customType and sendTs.- Parameters:
customType- The custom type of the messagesendTs- The time to calibrate data with media
-
-
Method Details