MARewardedInterstitialAdapter.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // MARewardedInterstitialAdapter.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 6/3/20.
  6. //
  7. #import <AppLovinSDK/MAAdapter.h>
  8. #import <AppLovinSDK/MAAdapterResponseParameters.h>
  9. #import <AppLovinSDK/MARewardedInterstitialAdapterDelegate.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. * This interface defines methods for rewarded interstitial adapters.
  13. */
  14. @protocol MARewardedInterstitialAdapter <MAAdapter>
  15. /**
  16. * Load a rewarded interstitial ad.
  17. *
  18. * This is called once per adapter.
  19. *
  20. * @param parameters Parameters that should be used for this current ad load.
  21. * @param delegate Delegate to be notified about rewarded ad events.
  22. */
  23. - (void)loadRewardedInterstitialAdForParameters:(id<MAAdapterResponseParameters>)parameters andNotify:(id<MARewardedInterstitialAdapterDelegate>)delegate;
  24. /**
  25. * Show the pre-loaded rewarded interstitial ad.
  26. *
  27. * This is called once per adapter.
  28. *
  29. * @param parameters Parameters used to show the ad.
  30. * @param delegate Delegate to be notified about rewarded ad events.
  31. */
  32. - (void)showRewardedInterstitialAdForParameters:(id<MAAdapterResponseParameters>)parameters andNotify:(id<MARewardedInterstitialAdapterDelegate>)delegate;
  33. @end
  34. NS_ASSUME_NONNULL_END