Metadata
Media metadata.
public class AgoraMetadata { public String channelId; public int uid; public byte[] data; public long timeStampMs; public AgoraMetadata() { channelId = null; uid = 0; data = null; timeStampMs = 0; } @CalledByNative public AgoraMetadata(String channelId, int uid, byte[] data, long timeStampMs) { this.channelId = channelId; this.uid = uid; this.data = data; this.timeStampMs = timeStampMs; } }
Attributes
- channelId
- The channel name.
- uid
-
The user ID.
- For the recipient: The ID of the remote user who sent the Metadata.
- For the sender: Ignore it.
- data
- The buffer address of the received Metadata.
- timeStampMs
- The timestamp (ms) of when the Metadata is sent.