Package io.agora.rtm
Class MetadataOptions
java.lang.Object
io.agora.rtm.MetadataOptions
Metadata options.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofMetadataOptionswith default parameters.MetadataOptions(boolean recordTs, boolean recordUserId) Creates a new instance ofMetadataOptionswith spec. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidsetRecordTs(boolean recordTs) voidsetRecordUserId(boolean recordUserId) toString()
-
Constructor Details
-
MetadataOptions
public MetadataOptions()Creates a new instance ofMetadataOptionswith default parameters. -
MetadataOptions
public MetadataOptions(boolean recordTs, boolean recordUserId) Creates a new instance ofMetadataOptionswith spec.- Parameters:
recordTs- Indicates whether or not to notify server update the modify timestamp of metadatarecordUserId- Indicates whether or not to notify server update the modify user id of metadata
-
-
Method Details