metadataReceived property

MetadataCallback? metadataReceived
getter/setter pair

Occurs when the local user receives the metadata, including the following parameters:

  • buffer: The sent or received metadata.
  • uid: ID of the user who sends the metadata.
  • timeStampMs: The timestamp of the metadata.

The MetadataCallback typedef includes the following parameters:

  • String: buffer: The received metadata.
  • int: uid: The ID of the user who sent the metadata.
  • int: timeStampMs: The timestamp (ms) of the received metadata.

Implementation

MetadataCallback? metadataReceived;