Package io.agora.rtm

Class MetadataOptions

java.lang.Object
io.agora.rtm.MetadataOptions

public class MetadataOptions extends Object
Metadata options.
  • Constructor Details

    • MetadataOptions

      public MetadataOptions()
      Creates a new instance of MetadataOptions with default parameters.
    • MetadataOptions

      public 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
  • Method Details

    • setRecordTs

      public void setRecordTs(boolean recordTs)
    • setRecordUserId

      public void setRecordUserId(boolean recordUserId)
    • getRecordTs

      public boolean getRecordTs()
    • getRecordUserId

      public boolean getRecordUserId()
    • toString

      public String toString()
      Overrides:
      toString in class Object