Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::IMetadataObserver::Metadata Struct Reference

#include <IAgoraRtcEngine.h>

Public Member Functions

 Metadata ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ Metadata()

agora::rtc::IMetadataObserver::Metadata::Metadata ( )
inline

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.