Package io.agora.rtm
Class SubscribeOptions
java.lang.Object
io.agora.rtm.SubscribeOptions
The subscribe option.
-
Constructor Summary
ConstructorsConstructorDescriptionThe default Constructor ofSubscribeOptions.SubscribeOptions(boolean withMessage, boolean withPresence, boolean withMetadata, boolean withLock, boolean beQuiet) Creates a new instance ofSubscribeOptionswith specifies options. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanvoidsetBeQuiet(boolean beQuiet) voidsetWithLock(boolean withLock) voidsetWithMessage(boolean withMessage) voidsetWithMetadata(boolean withMetadata) voidsetWithPresence(boolean withPresence) toString()
-
Constructor Details
-
SubscribeOptions
public SubscribeOptions()The default Constructor ofSubscribeOptions. -
SubscribeOptions
public SubscribeOptions(boolean withMessage, boolean withPresence, boolean withMetadata, boolean withLock, boolean beQuiet) Creates a new instance ofSubscribeOptionswith specifies options.- Parameters:
withMessage- Indicates whether subscribe message event notifywithPresence- Indicates whether subscribe presence event notifywithMetadata- Indicates whether subscribe storage event notifywithLock- Indicates whether subscribe lock event notifybeQuiet- 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
-