onPlayerEvent property
Reports the player events.
After calling the seek method, the SDK triggers the callback to report the results of the seek operation.
eventCodeThe player event. See MediaPlayerEvent.elapsedTimeThe time (ms) when the event occurs.messageInformation about the event.
Implementation
final void Function(
MediaPlayerEvent eventCode, int elapsedTime, String message)?
onPlayerEvent;