Agora RTC Objective-C API Reference  Refactor
Instance Methods
<AgoraMediaMetadataDelegate> Protocol Reference

Inherits <NSObject>.

Instance Methods

(void) - receiveMetadata:fromUser:atTimestamp:
 

Detailed Description

The definition of AgoraMediaMetadataDelegate

Note
Implement the callback in this protocol in the critical thread. We recommend avoiding any time-consuming operation in the critical thread.

Method Documentation

◆ receiveMetadata:fromUser:atTimestamp:

- (void) receiveMetadata: (NSData *_Nonnull)  data
fromUser: (NSInteger)  uid
atTimestamp: (NSTimeInterval)  timestamp 
required

Occurs when the local user receives the metadata.

Parameters
dataThe received metadata.
uidThe ID of the user who sends the metadata.
timestampThe timestamp (ms) of the received metadata.