FqBUDNativeExpressBanner.h 721 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // FqBUDNativeExpressBanner.h
  3. // XenonSDK
  4. //
  5. // Created by fq on 2021/4/22.
  6. // Copyright © 2021 SAGESSE. All rights reserved.
  7. //
  8. #import "AdBase.h"
  9. #import <BUAdSDK/BUAdSDK.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. /**模板渲染Banner
  12. */
  13. @interface FqBUDNativeExpressBanner : AdBase
  14. -(instancetype)init;
  15. //判断广告是否有效
  16. -(BOOL)isAdReady;
  17. -(void)openNativeExpressBannerAd:(NSString *)adName
  18. WithX:(CGFloat)x
  19. Y:(CGFloat)y
  20. Width:(CGFloat)w
  21. Height:(CGFloat)h
  22. callback:(void (^)(BOOL))callback;
  23. //关闭广告
  24. -(void)closeBanner:(NSString *)adName;
  25. @end
  26. NS_ASSUME_NONNULL_END