PangleNativeInterstitialView.h 758 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // PangleNativeInterstitialView.h
  3. // BUDemo
  4. //
  5. // Created by bytedance on 2020/4/24.
  6. // Copyright © 2020 bytedance. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "BUNativeAd.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. @protocol PangleNativeInterstitialViewDelegate <NSObject>
  12. - (void)nativeInterstitialAdWillClose:(BUNativeAd *)nativeAd;
  13. - (void)nativeInterstitialAdDidClose:(BUNativeAd *)nativeAd;
  14. @end
  15. @interface PangleNativeInterstitialView : UIViewController
  16. @property (nonatomic, getter=isAdValid, readonly) BOOL adValid;
  17. - (void)refreshUIWithAd:(BUNativeAd *_Nonnull)nativeAd;
  18. - (BOOL)showAdFromRootViewController:(UIViewController *)rootViewController delegate:(id <PangleNativeInterstitialViewDelegate>)delegate;
  19. @end
  20. NS_ASSUME_NONNULL_END