Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.AgoraMetadata Class Reference

Media metadata. More...

Public Member Functions

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

Public Attributes

String channelId
 
int uid
 
byte[] data
 
long timeStampMs
 

Detailed Description

Media metadata.

Member Data Documentation

◆ channelId

String io.agora.rtc2.video.AgoraMetadata.channelId

The channel name.

◆ uid

int io.agora.rtc2.video.AgoraMetadata.uid

The user ID.

  • For the recipient: The ID of the remote user who sent the AgoraMetadata.
  • For the sender: Ignore it.

◆ data

byte [] io.agora.rtc2.video.AgoraMetadata.data

The buffer address of the received AgoraMetadata.

◆ timeStampMs

long io.agora.rtc2.video.AgoraMetadata.timeStampMs

The timestamp (ms) of when the AgoraMetadata is sent.