ISDemandOnlyInterstitialDelegate.h 1.1 KB

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