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
//
//  GDTNativeExpressAdViewAdapterProtocol.h
//  GDTMobApp
//
//  Created by rowanzhang on 2021/8/16.
//  Copyright © 2021 Tencent. All rights reserved.
//
 
#ifndef GDTNativeExpressAdViewAdapterProtocol_h
#define GDTNativeExpressAdViewAdapterProtocol_h
@class GDTNativeExpressAdView;
@protocol GDTAdProtocol;
 
@protocol GDTNativeExpressAdViewAdapterProtocol <GDTAdProtocol>
 
@property (nonatomic, weak) GDTNativeExpressAdView *gdtExpressAdView;
 
@property (nonatomic, assign, readonly) BOOL isReady;
@property (nonatomic, assign, readonly) BOOL isVideoAd;
@property (nonatomic, weak) UIViewController *controller;
 
- (void)resize;
 
- (BOOL)isAdValid;
- (UIView *)adView;
 
- (void)render;
- (CGFloat)videoDuration;
- (CGFloat)videoPlayTime;
- (NSInteger)eCPM;
- (NSString *)eCPMLevel;
 
//发送竞胜结果
- (void)sendWinNotification:(NSInteger)price;
 
//发送竞败结果
- (void)sendLossNotification:(NSInteger)price reason:(NSInteger)reason adnId:(NSString *)adnId;
 
//设置实际结算价
- (void)setBidECPM:(NSInteger)price;
 
@end
 
#endif /* GDTNativeExpressAdViewAdapterProtocol_h */