Agora RTC Objective-C API Reference  Refactor
Data Fields
IMetadataObserver::Metadata Struct Reference

Data Fields

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

Detailed Description

Metadata.

Constructor & Destructor Documentation

◆ Metadata()

Metadata ( )
inline

Field Documentation

◆ channelId

const char* channelId

The channel ID of the metadata.

◆ uid

unsigned int 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 size

The buffer size of the sent or received metadata.

◆ buffer

unsigned char* buffer

The buffer address of the sent or received metadata.

◆ timeStampMs

long long timeStampMs

The NTP timestamp (ms) when the metadata is sent.

Note
If the receiver is audience, the receiver cannot get the NTP timestamp (ms).