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