BUNativeExpressAdView.h 809 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // BUNativeExpressAdView.h
  3. // BUAdSDK
  4. //
  5. // Created by bytedance on 2019/1/20.
  6. // Copyright © 2019年 bytedance. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface BUNativeExpressAdView : UIView
  11. /**
  12. * Whether render is ready
  13. */
  14. @property (nonatomic, assign, readonly) BOOL isReady;
  15. /// media configuration parameters.
  16. @property (nonatomic, copy, readonly) NSDictionary *mediaExt;
  17. /// video duration.
  18. @property (nonatomic,assign, readonly) NSInteger videoDuration;
  19. /// Get the already played time.
  20. @property (nonatomic,assign, readonly) CGFloat currentPlayedTime;
  21. /*
  22. required.
  23. Root view controller for handling ad actions.
  24. */
  25. @property (nonatomic, weak) UIViewController *rootViewController;
  26. /**
  27. required
  28. */
  29. - (void)render;
  30. @end
  31. NS_ASSUME_NONNULL_END