admin
2022-09-04 fa05f89529e05078b29606e4beda3de5cfdce485
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
44
45
46
47
48
49
//
//  BUNativeExpressAdView.h
//  BUAdSDK
//
//  Created by bytedance on 2019/1/20.
//  Copyright © 2019年 bytedance. All rights reserved.
//
 
#import "BUInterfaceBaseView.h"
#import "BUAdClientBiddingProtocol.h"
 
NS_ASSUME_NONNULL_BEGIN
 
 
 __attribute__((objc_subclassing_restricted))
@interface BUNativeExpressAdView : BUInterfaceBaseView<BUAdClientBiddingProtocol>
/**
 * 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;
 
/**
 Ad slot material id
 */
- (NSString *)getAdCreativeToken;
 
@end
 
NS_ASSUME_NONNULL_END