MAAdExpirationDelegate.h 670 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // MAAdExpirationDelegate.h
  3. // AppLovinSDK
  4. //
  5. // Created by Ritam Sarmah on 8/7/23.
  6. //
  7. @class MAAd;
  8. NS_ASSUME_NONNULL_BEGIN
  9. /**
  10. * This protocol defines a delegate to be notified about ad expiration events.
  11. */
  12. @protocol MAAdExpirationDelegate <NSObject>
  13. /**
  14. * The SDK invokes this callback when a new ad has reloaded after expiration.
  15. *
  16. * The SDK invokes this callback on the UI thread.
  17. *
  18. * @note @c didLoadAd: is not invoked for a successfully reloaded ad.
  19. *
  20. * @param expiredAd The previously expired ad.
  21. * @param newAd The newly reloaded ad.
  22. */
  23. - (void)didReloadExpiredAd:(MAAd *)expiredAd withNewAd:(MAAd *)newAd;
  24. @end
  25. NS_ASSUME_NONNULL_END