Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::IMetadataObserver::Metadata Struct Reference

Media metadata. More...

#include <IAgoraRtcEngine.h>

Public Attributes

const char * channelId
 
unsigned int uid
 
unsigned int size
 
unsigned char * buffer
 
long long timeStampMs
 

Detailed Description

Media metadata.

Member Data Documentation

◆ channelId

const char* agora::rtc::IMetadataObserver::Metadata::channelId

The channel name.

◆ uid

unsigned int agora::rtc::IMetadataObserver::Metadata::uid

The user ID.

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

◆ size

unsigned int agora::rtc::IMetadataObserver::Metadata::size

The buffer size of the sent or received Metadata.

◆ buffer

unsigned char* agora::rtc::IMetadataObserver::Metadata::buffer

The buffer address of the received Metadata.

◆ timeStampMs

long long agora::rtc::IMetadataObserver::Metadata::timeStampMs

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