|
Agora Java API Reference for Android
|
Public Member Functions | |
| PublishOptions () | |
| PublishOptions (RtmChannelType channelType, String customType, boolean storeInHistory) | |
| void | setCustomType (String customType) |
| void | setChannelType (RtmChannelType channelType) |
| void | setStoreInHistory (boolean storeInHistory) |
| String | getCustomType () |
| long | getChannelType () |
| boolean | getStoreInHistory () |
| String | toString () |
Publish message option
| io.agora.rtm.PublishOptions.PublishOptions | ( | ) |
| io.agora.rtm.PublishOptions.PublishOptions | ( | RtmChannelType | channelType, |
| String | customType, | ||
| boolean | storeInHistory | ||
| ) |
Creates a new instance of
with specified channelType and customType.
| channelType | The type of channel |
| customType | The custom type of the message |
1.8.18