Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rtm.PublishOptions Class Reference

Public Member Functions

 PublishOptions ()
 
 PublishOptions (String customType)
 
 PublishOptions (String customType, long sendTs)
 
void setCustomType (String customType)
 
void setSendTs (long sendTs)
 
String getCustomType ()
 
long getSendTs ()
 
String toString ()
 

Detailed Description

Publish message option

Constructor & Destructor Documentation

◆ PublishOptions() [1/3]

io.agora.rtm.PublishOptions.PublishOptions ( )

Creates a new instance of

with default parameters.

◆ PublishOptions() [2/3]

io.agora.rtm.PublishOptions.PublishOptions ( String  customType)

Creates a new instance of

with customType.

Parameters
customTypeThe custom type of the message

◆ PublishOptions() [3/3]

io.agora.rtm.PublishOptions.PublishOptions ( String  customType,
long  sendTs 
)

Creates a new instance of

with customType.

Parameters
customTypeThe custom type of the message
sendTsThe time to calibrate data with media
io.agora.rtm.PublishOptions.PublishOptions
PublishOptions()
Definition: PublishOptions.java:24