onMediaPlayerPlayingProgress property
getter/setter pair
The callback to report the current playback progress of the media player.
Available since: 1.3.4
Description: The callback triggered when the network status of the media player changes. Set the callback interval by calling setProgressInterval. When the callback interval is set to 0, the callback is stopped. The default callback interval is 1 second.
Trigger: When the media player is playing network resources, this callback will be triggered when the status change of the cached data.
Restrictions: None.
Related APIs: setProgressInterval.
mediaPlayerCallback player object.millisecondProgress in milliseconds.
Implementation
static void Function(ZegoMediaPlayer mediaPlayer, int millisecond)?
onMediaPlayerPlayingProgress;