Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtm.TopicMessageOptions Class Reference

## Public Member Functions
| TopicMessageOptions ()
| TopicMessageOptions (String customType)
| TopicMessageOptions (String customType, long sendTs)
void | setCustomType (String customType)
void | setSendTs (long sendTs)
String | getCustomType ()
long | getSendTs ()
String | toString ()

## Detailed Description

topic message option

## Constructor & Destructor Documentation

## ◆ TopicMessageOptions() [1/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions | ( |  | ) |

Creates a new instance of

TopicMessageOptions

with default parameters.

## ◆ TopicMessageOptions() [2/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions | ( | String | customType | ) |

Creates a new instance of

TopicMessageOptions

with specified customType.

Parameters

  customType | The custom type of the message

## ◆ TopicMessageOptions() [3/3]

io.agora.rtm.TopicMessageOptions.TopicMessageOptions | ( | String | customType,
|  | long | sendTs
| ) |  |

Creates a new instance of

TopicMessageOptions

with specified customType and sendTs.

Parameters

  customType | The custom type of the message
  sendTs | The time to calibrate data with media

io.agora.rtm.TopicMessageOptions.TopicMessageOptions
TopicMessageOptions()
Definition: TopicMessageOptions.java:23