Agora C++ API Reference for All Platforms
Public Attributes | List of all members
agora::rtc::IMetadataObserver::Metadata Struct Reference

Public Attributes

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

Detailed Description

Metadata.

Member Data Documentation

◆ uid

unsigned int agora::rtc::IMetadataObserver::Metadata::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.

◆ 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 sent or received metadata.

◆ timeStampMs

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

The timestamp (ms) of the metadata.