ISInterstitialDelegate.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // Copyright © 2017 IronSource. All rights reserved.
  3. //
  4. #ifndef IRONSOURCE_INTERSTITIAL_DELEGATE_H
  5. #define IRONSOURCE_INTERSTITIAL_DELEGATE_H
  6. #import <Foundation/Foundation.h>
  7. @protocol ISInterstitialDelegate <NSObject>
  8. @required
  9. /**
  10. Called after an interstitial has been loaded
  11. */
  12. - (void)interstitialDidLoad;
  13. /**
  14. Called after an interstitial has attempted to load but failed.
  15. @param error The reason for the error
  16. */
  17. - (void)interstitialDidFailToLoadWithError:(NSError *)error;
  18. /**
  19. Called after an interstitial has been opened.
  20. */
  21. - (void)interstitialDidOpen;
  22. /**
  23. Called after an interstitial has been dismissed.
  24. */
  25. - (void)interstitialDidClose;
  26. /**
  27. Called after an interstitial has been displayed on the screen.
  28. */
  29. - (void)interstitialDidShow;
  30. /**
  31. Called after an interstitial has attempted to show but failed.
  32. @param error The reason for the error
  33. */
  34. - (void)interstitialDidFailToShowWithError:(NSError *)error;
  35. /**
  36. Called after an interstitial has been clicked.
  37. */
  38. - (void)didClickInterstitial;
  39. @end
  40. #endif