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 timestamp (ms) of the received metadata. |