Inherits <NSObject>.
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:
- (void) receiveMetadata: |
|
(NSData *_Nonnull) |
data |
fromUser: |
|
(NSInteger) |
uid |
atTimestamp: |
|
(NSTimeInterval) |
timestamp |
|
|
| |
|
required |
Occurs when the local user receives the metadata.
- Parameters
-
data | The received metadata. |
uid | The ID of the user who sends the metadata. |
timestamp | The NTP timestamp (ms) when the metadata is sent. |
- Note
- If the receiver is audience, the receiver cannot get the NTP timestamp (ms) from
timestamp
.