GDTSplashAdNetworkAdapterProtocol.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // GDTSplashAdNetworkAdapterProtocol.h
  3. // GDTMobApp
  4. //
  5. // Created by royqpwang on 2019/7/27.
  6. // Copyright © 2019 Tencent. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "GDTBaseAdNetworkAdapterProtocol.h"
  10. #import "GDTSplashZoomOutView.h"
  11. #import "GDTServerSideVerificationOptions.h"
  12. @protocol GDTSplashAdNetworkConnectorProtocol;
  13. NS_ASSUME_NONNULL_BEGIN
  14. @protocol GDTSplashAdNetworkAdapterProtocol <GDTBaseAdNetworkAdapterProtocol>
  15. @property (nonatomic, assign) NSInteger fetchDelay;
  16. @property (nonatomic, strong) UIImage *backgroundImage;
  17. @property (nonatomic, copy) UIColor *backgroundColor;
  18. @property (nonatomic, assign) CGPoint skipButtonCenter;
  19. @property (nonatomic, assign) BOOL needZoomOut;
  20. @property (nonatomic, strong, readonly, nullable) GDTSplashZoomOutView *splashZoomOutView;
  21. @property (nonatomic, assign) BOOL shouldLoadFullscreenAd;
  22. @property (nonatomic, strong) GDTServerSideVerificationOptions *serverSideVerificationOptions;
  23. - (BOOL)isAdValid;
  24. - (void)loadAd;
  25. - (void)showAdInWindow:(UIWindow *)window withBottomView:(UIView *_Nullable)bottomView skipView:(UIView *)skipView;
  26. @end
  27. NS_ASSUME_NONNULL_END