OnVideoRender typedef
OnVideoRender =
void Function(int frameInfo, VAPConfigs? configs)
Callback function for frame rendering events.
Called for each frame that is rendered during animation playback. This callback is only available on Android.
Parameters:
frameInfo: Index of the current frame being renderedconfigs: Animation configuration data (may be null)
Implementation
typedef OnVideoRender = void Function(int frameInfo, VAPConfigs? configs);