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

MetadataOptions

with default parameters.

## ◆ MetadataOptions() [2/2]

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

Creates a new instance of

MetadataOptions

with spec.

Parameters

  recordTs | Indicates whether or not to notify server update the modify timestamp of metadata
  recordUserId | Indicates whether or not to notify server update the modify user id of metadata

io.agora.rtm.MetadataOptions.MetadataOptions
MetadataOptions()
Definition: MetadataOptions.java:22