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
50
//
//  CSJRenderInteractionModel.h
//  CSJAdSDK
//
//  Created by Rush.D.Xzj on 2021/2/9.
//
 
#import <Foundation/Foundation.h>
#import "CSJRenderClickEventModel.h"
 
NS_ASSUME_NONNULL_BEGIN
 
typedef NS_ENUM(NSInteger, BURenderInteractionType) {
    BURenderInteractionTypeNone = 0,
    // jsbridge
    BURenderInteractionType_clickEvent,
    BURenderInteractionType_openPrivacy,
    BURenderInteractionType_preventTouchEvent,
    BURenderInteractionType_muteVideo,
    BURenderInteractionType_changeVideoState,
    BURenderInteractionType_getCurrentVideoState,
    BURenderInteractionType_skipVideo,
    BURenderInteractionType_immersiveVideoPageBack,
    BURenderInteractionType_getMaterialMeta,
    BURenderInteractionType_openPlayable,
    BURenderInteractionType_interstitial_webview_close,
    BURenderInteractionType_startVideoTransform,
    BURenderInteractionType_rewardPlayAgain,
    // cover
    BURenderInteractionType_click   =       1000,
    BURenderInteractionType_clickVideo,
    BURenderInteractionType_clickClose,
    BURenderInteractionType_clickAdLogo,
    BURenderInteractionType_clickDownload,
    BURenderInteractionType_interactiveFinished, //轻互动完成 抵消激励时长
    BURenderInteractionType_adAnalysisData, //传递埋点数据
    BURenderInteractionType_requestPauseVideo // 请求精准暂停视频
};
 
 
@interface CSJRenderInteractionModel : NSObject
@property (nonatomic, assign) BURenderInteractionType renderInteractionType;
@property (nonatomic, strong) CSJRenderClickEventModel *renderClickEventModel;
 
@property (nonatomic, copy) NSDictionary *js2NativeParams;
@property (nonatomic, copy) NSDictionary *native2JSParams;
 
@end
 
NS_ASSUME_NONNULL_END