ErrorCallback typedef

ErrorCallback = void Function(VideoViewController controller, int what, int extra, String? message)

Callback that is called when the player had an error trying to load/play the video source. The values what and extra are Android exclusives and message is iOS exclusive.

Implementation

typedef ErrorCallback = void Function(
    VideoViewController controller, int what, int extra, String? message);