Class AgoraMetadata

java.lang.Object
io.agora.rtc2.video.AgoraMetadata

public class AgoraMetadata extends Object
The AgoraMetadata class.
  • Field Details

    • channelId

      public String channelId
      The channel ID of the `metadata`.
    • uid

      public int uid
      The User ID that sent the metadata. - For the receiver: The user ID of the user who sent the `metadata`. - For the sender: Ignore this value.
    • data

      public byte[] data
      The buffer address of the sent or received `metadata`.
    • timeStampMs

      public long timeStampMs
      The NTP timestamp (ms) when the metadata is sent.
  • Constructor Details

    • AgoraMetadata

      public AgoraMetadata()
    • AgoraMetadata

      public AgoraMetadata(String channelId, int uid, byte[] data, long timeStampMs)