BmdrmErrorBuilder typedef

BmdrmErrorBuilder = Widget Function(BuildContext context, BmdrmPlayerError error, VoidCallback retry)

Builds what the player shows in place of the video when playback fails.

retry re-runs the whole setup, from session resolution onwards. It is safe to call more than once, and safe to ignore: leave it out and the panel is display-only.

Implementation

typedef BmdrmErrorBuilder =
    Widget Function(
      BuildContext context,
      BmdrmPlayerError error,
      VoidCallback retry,
    );