public interface IMetadataObserver
| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_METADATA
(Not supported) The metadata type is unknown.
|
static int |
VIDEO_METADATA
The metadata type is video.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxMetadataSize()
Occurs when the SDK requests the maximum size of the metadata.
|
void |
onMetadataReceived(AgoraMetadata metadata)
Occurs when the local user receives the metadata.
|
byte[] |
onReadyToSendMetadata(long timeStampMs,
int sourceType)
Occurs when the SDK is ready to receive and send metadata.
|
static final int UNKNOWN_METADATA
static final int VIDEO_METADATA
int getMaxMetadataSize()
byte[] onReadyToSendMetadata(long timeStampMs,
int sourceType)
timeStampMs - The NTP timestamp (ms) that the metadata sends.sourceType - VideoSourceTypevoid onMetadataReceived(AgoraMetadata metadata)
metadata - The metadata. See AgoraMetadata.