show method

  1. @override
Future<AdShowResult> show()
override

Checks the gate, shows the warm ad, records the impression and preloads the next one on dismissal.

Completes when the ad has CLOSED (6.0) — code after await show() runs once the user is back in the app — or at once when nothing was shown. The AdShowResult says which, and why.

The reward callback lives only on the rewarded formats (RewardedAdController.show(onReward:) / RewardedInterstitialAdController.show(onReward:)); their result also carries the reward.

Implementation

@override
Future<AdShowResult> show() => showEngine();