Package io.agora.rtm
Class PublishOptions
java.lang.Object
io.agora.rtm.PublishOptions
Publish message option
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofPublishOptionswith default parameters.PublishOptions(RtmConstants.RtmChannelType channelType, String customType, boolean storeInHistory) Creates a new instance ofPublishOptionswith specified channelType and customType. -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanvoidsetChannelType(RtmConstants.RtmChannelType channelType) voidsetCustomType(String customType) voidsetStoreInHistory(boolean storeInHistory) toString()
-
Constructor Details
-
PublishOptions
public PublishOptions()Creates a new instance ofPublishOptionswith default parameters. -
PublishOptions
public PublishOptions(RtmConstants.RtmChannelType channelType, String customType, boolean storeInHistory) Creates a new instance ofPublishOptionswith specified channelType and customType.- Parameters:
channelType- The type of channelcustomType- The custom type of the message
-
-
Method Details