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

Public Member Functions

 MetadataOptions ()
 
 MetadataOptions (boolean recordTs, boolean recordUserId)
 
void setRecordTs (boolean recordTs)
 
void setRecordUserId (boolean recordUserId)
 
boolean getRecordTs ()
 
boolean getRecordUserId ()
 
String toString ()
 

Detailed Description

Metadata options.

Constructor & Destructor Documentation

◆ MetadataOptions() [1/2]

io.agora.rtm.MetadataOptions.MetadataOptions ( )

Creates a new instance of

with default parameters.

◆ MetadataOptions() [2/2]

io.agora.rtm.MetadataOptions.MetadataOptions ( boolean  recordTs,
boolean  recordUserId 
)

Creates a new instance of

with spec.

Parameters
recordTsIndicates whether or not to notify server update the modify timestamp of metadata
recordUserIdIndicates whether or not to notify server update the modify user id of metadata
io.agora.rtm.MetadataOptions.MetadataOptions
MetadataOptions()
Definition: MetadataOptions.java:22