CSJSplashZoomOutModel.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // CSJSplashZoomOutModel.h
  3. // CSJAdSDK
  4. //
  5. // Created by wangyanlin on 2020/6/18.
  6. // Copyright © 2020 bytedance. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NS_ENUM(NSUInteger, BUSplashZoomOutIconStatus) {
  11. BUSplashZoomOutIconStatusSuccess = 0,
  12. BUSplashZoomOutIconStatusNotCompleted = 1,
  13. BUSplashZoomOutIconStatusError = 2
  14. };
  15. @interface CSJSplashZoomOutModel : NSObject <NSCoding>
  16. @property (nonatomic, copy) NSString *splashIconUrl;
  17. @property (nonatomic, assign) NSInteger splashIconWidth;
  18. @property (nonatomic, assign) NSInteger splashIconHeight;
  19. @property (nonatomic, assign) CGFloat splashIconVideoWidth;
  20. @property (nonatomic, assign) CGFloat splashIconVideoHeight;
  21. @property (nonatomic, assign) BUSplashZoomOutIconStatus status;
  22. @property (nonatomic, assign) NSTimeInterval videoEndcardShowTime;
  23. @property (nonatomic, copy) NSString *videoEndcardText;
  24. - (instancetype)initWithDictionary:(NSDictionary *)dict error:(NSError * __autoreleasing *)error;
  25. @end
  26. NS_ASSUME_NONNULL_END