onPlayerPlaybackStats property

void Function(PlayerPlaybackStats stats)? onPlayerPlaybackStats
final

The statistics of the media file being played.

The SDK triggers this callback once per second to report the statistics of the media file being played.

  • stats The statistics of the media file. See PlayerPlaybackStats.

Implementation

final void Function(PlayerPlaybackStats stats)? onPlayerPlaybackStats;