Agora RTC Objective-C API Reference  Refactor
Properties
AgoraMetadata Class Reference

Inherits <NSObject>.

Properties

NSString *_Nonnull channelId
 
NSInteger uid
 
NSData *_Nonnull data
 
NSTimeInterval timestamp
 

Property Documentation

◆ channelId

- (NSString* _Nonnull) channelId
readwritenonatomiccopy

The channel name.

◆ uid

- (NSInteger) uid
readwritenonatomicassign

The user ID.

  • For the recipient: The ID of the remote user who sent the AgoraMetadata.
  • For the sender: Ignore it.

◆ data

- (NSData* _Nonnull) data
readwritenonatomicstrong

The received metadata.

◆ timestamp

- (NSTimeInterval) timestamp
readwritenonatomicassign

The timestamp (ms) of when the AgoraMetadata is sent.