Called when an app event is received.
final void Function(Ad ad, String name, String data)? onAppEvent;