MAAdViewAdapter.h 962 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // MAAdViewAdapter.h
  3. // AppLovinSDK
  4. //
  5. // Created by Thomas So on 8/10/18.
  6. // Copyright © 2019 AppLovin Corporation. All rights reserved.
  7. //
  8. #import <AppLovinSDK/MAAdapter.h>
  9. #import <AppLovinSDK/MAAdapterResponseParameters.h>
  10. #import <AppLovinSDK/MAAdViewAdapterDelegate.h>
  11. @class MAAdFormat;
  12. NS_ASSUME_NONNULL_BEGIN
  13. /**
  14. * This protocol defines methods for ad view-based adapters (banners, mrecs, and leaders).
  15. */
  16. @protocol MAAdViewAdapter <MAAdapter>
  17. /**
  18. * Schedule loading of the next ad view ad.
  19. *
  20. * This is called once per adapter.
  21. *
  22. * @param parameters Parameters used to load the ads.
  23. * @param adFormat Format of the ad to load.
  24. * @param delegate Delegate to be notified about ad events.
  25. */
  26. - (void)loadAdViewAdForParameters:(id<MAAdapterResponseParameters>)parameters
  27. adFormat:(MAAdFormat *)adFormat
  28. andNotify:(id<MAAdViewAdapterDelegate>)delegate;
  29. @end
  30. NS_ASSUME_NONNULL_END