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