Package io.agora.rtm

Class TopicMessageOptions

java.lang.Object
io.agora.rtm.TopicMessageOptions

public class TopicMessageOptions extends Object
topic message option
  • Constructor Details

    • TopicMessageOptions

      public TopicMessageOptions()
      Creates a new instance of TopicMessageOptions with default parameters.
    • TopicMessageOptions

      public TopicMessageOptions(String customType)
      Creates a new instance of TopicMessageOptions with specified customType.
      Parameters:
      customType - The custom type of the message
    • TopicMessageOptions

      public TopicMessageOptions(String customType, long sendTs)
      Creates a new instance of TopicMessageOptions with specified customType and sendTs.
      Parameters:
      customType - The custom type of the message
      sendTs - The time to calibrate data with media
  • Method Details

    • setCustomType

      public void setCustomType(String customType)
    • setSendTs

      public void setSendTs(long sendTs)
    • getCustomType

      public String getCustomType()
    • getSendTs

      public long getSendTs()
    • toString

      public String toString()
      Overrides:
      toString in class Object