onMetaData property

void Function(Uint8List data, int length)? onMetaData
final

Occurs when the media metadata is received.

The callback occurs when the player receives the media metadata and reports the detailed information of the media metadata.

  • data The detailed data of the media metadata.
  • length The data length (bytes).

Implementation

final void Function(Uint8List data, int length)? onMetaData;