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
//
//  CSJNativeExpressRewardedVideoAdViewController.h
//  CSJAdSDK
//
//  Created by cuiyanan on 2019/8/7.
//  Copyright © 2019 bytedance. All rights reserved.
//
 
#import <UIKit/UIKit.h>
@class CSJNativeExpressRewardedVideoAdView;
@class CSJNativeAd;
@class CSJAdSlot;
@class CSJDislikeContext;
 
NS_ASSUME_NONNULL_BEGIN
 
@protocol CSJNativeExpressVideoAdDelegate <NSObject>
@optional
- (void)nativeExpressVideoAdDidPlayFinishWithError:(nullable NSError *)error;
- (void)nativeExpressVideoAdDidClickSkip;
- (void)nativeExpressVideoAdEndcardWillClose;
- (void)nativeExpressVideoAdEndcardDidClose;
/// native express video ad reward verify: include C2C and S2S methods .
- (void)nativeExpressVideoAdServerRewardDidSucceedVerify:(BOOL)verify;
- (void)nativeExpressVideoAdServerRewardDidFailWithError:(nullable NSError *)error;
@end
 
@interface CSJNativeExpressRewardedVideoAdViewController : UIViewController
@property (nonatomic, weak) id<CSJNativeExpressVideoAdDelegate> rewardedVideoAd;
@property (nonatomic, assign) BOOL isRewardedVideo;
@property (nonatomic, strong) CSJAdSlot *adSlot;
@property (nonatomic, copy) dispatch_block_t purePlayableClickBlock;
 
 
- (instancetype)initWithNativeExpressAdView:(CSJNativeExpressRewardedVideoAdView *)expressAdView purePlayableNativeAd:(CSJNativeAd *)purePlayableNativeAd;
 
@end
 
NS_ASSUME_NONNULL_END