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