Package io.agora.rtm

Class SubscribeOptions

java.lang.Object
io.agora.rtm.SubscribeOptions

public class SubscribeOptions extends Object
The subscribe option.
  • Constructor Details

    • SubscribeOptions

      public SubscribeOptions()
      The default Constructor of SubscribeOptions.
    • SubscribeOptions

      public SubscribeOptions(boolean withMessage, boolean withPresence, boolean withMetadata, boolean withLock, boolean beQuiet)
      Creates a new instance of SubscribeOptions with specifies options.
      Parameters:
      withMessage - Indicates whether subscribe message event notify
      withPresence - Indicates whether subscribe presence event notify
      withMetadata - Indicates whether subscribe storage event notify
      withLock - Indicates whether subscribe lock event notify
      beQuiet - Indicates whether subscribe channel in quiet mode
  • Method Details

    • setWithMessage

      public void setWithMessage(boolean withMessage)
    • setWithPresence

      public void setWithPresence(boolean withPresence)
    • setWithMetadata

      public void setWithMetadata(boolean withMetadata)
    • setWithLock

      public void setWithLock(boolean withLock)
    • setBeQuiet

      public void setBeQuiet(boolean beQuiet)
    • getWithMessage

      public boolean getWithMessage()
    • getWithPresence

      public boolean getWithPresence()
    • getWithMetadata

      public boolean getWithMetadata()
    • getWithLock

      public boolean getWithLock()
    • isBeQuiet

      public boolean isBeQuiet()
    • toString

      public String toString()
      Overrides:
      toString in class Object