|
Agora Java API Reference for Android
|
Public Member Functions | |
| abstract int | getMaxMetadataSize () |
| abstract byte[] | onReadyToSendMetadata (long timeStampMs, int sourceType) |
| abstract void | onMetadataReceived (AgoraMetadata metadata) |
Static Public Attributes | |
| static final int | UNKNOWN_METADATA = -1 |
| static final int | VIDEO_METADATA = 0 |
The definition of IMetadataObserver.
|
abstract |
Occurs when the SDK requests the maximum size of the metadata.
The Metadata struct contains the following parameters:
uid: ID of the user who sends the metadata. size: The metadata size.buffer: The metadata buffer.timeStampMs: The NTP timestamp (ms) that the metadata sends.
|
abstract |
Occurs when the SDK is ready to receive and send metadata.
You need to specify the metadata in the return value of this callback.
|
abstract |
Occurs when the local user receives the metadata.
| metadata | The metadata. See AgoraMetadata. |
|
static |
(Not supported) The metadata type is unknown.
|
static |
The metadata type is video.
1.8.18