Agora Objective-C API Reference for iOS/macOS

AgoraMediaMetadataDelegate Category Reference

Conforms to NSObject
Declared in AgoraMediaMetadata.h

Overview

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.

– receiveMetadata:fromUser:atTimestamp: required method

Occurs when the local user receives the metadata.

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

Parameters

data

The received metadata.

uid

The ID of the user who sends the metadata.

timestamp

The timestamp (ms) of the received metadata.

Declared In

AgoraMediaMetadata.h

X
Is this page helpful?