MANativeAdAdapter.h 719 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // MANativeAdAdapter.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 6/16/21.
  6. //
  7. #import <AppLovinSDK/MAAdapter.h>
  8. #import <AppLovinSDK/MAAdapterResponseParameters.h>
  9. #import <AppLovinSDK/MANativeAdAdapterDelegate.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**
  12. * This protocol defines methods for native adapters.
  13. */
  14. @protocol MANativeAdAdapter <MAAdapter>
  15. /**
  16. * Schedule loading of the next native ad.
  17. *
  18. * This is called once per adapter.
  19. *
  20. * @param parameters Parameters used to load the ads.
  21. * @param delegate Delegate to be notified about ad events.
  22. */
  23. - (void)loadNativeAdForParameters:(id<MAAdapterResponseParameters>)parameters andNotify:(id<MANativeAdAdapterDelegate>)delegate;
  24. @end
  25. NS_ASSUME_NONNULL_END