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
//
//  CSJNativeExpressAdView+middlePage.h
//  CSJAdSDK
//
//  Created by bytedance on 2020/11/4.
//  Copyright © 2020 bytedance. All rights reserved.
//
 
#import "CSJNativeExpressAdView.h"
 
NS_ASSUME_NONNULL_BEGIN
@class CSJNativeExpressAdView;
@class CSJMaterialMeta;
@protocol CSJImmersiveMiddleExpressDelegate <NSObject>
/// 返回上一级页面
/// @param nativeExpressAdView 模板视图
- (void)nativeExpressViewImmersiveMiddlePageBack:(CSJNativeExpressAdView *)nativeExpressAdView;
 
/// 沉浸式点击bar或相关推荐创意区点击事件回调
/// @param nativeExpressAdView 模板视图
/// @param materialMeta 点击App对应的物料
- (void)nativeExpressView:(CSJNativeExpressAdView *)nativeExpressAdView creativeClickWithMaterial:(CSJMaterialMeta *)materialMeta;
 
@end
 
@interface CSJNativeExpressAdView()
/// 标记二级模板页已展示,区别模板广告的一级页面
@property (nonatomic, assign) BOOL validImmersiveExpressView;
 
@property (nonatomic, weak) id<CSJImmersiveMiddleExpressDelegate> middleExpressDelegate;
 
/// 相关推荐页物料JSON
@property (nonatomic, copy) NSDictionary *relatedMaterialMetaJSON;
/// 相关推荐页物料字典,便于点击推荐app时进行查询
@property (nonatomic, strong) NSMutableDictionary<NSString *, CSJMaterialMeta *> *relatedAdAppsID;
 
- (void)safeDelegate_immersiveMiddleExpressPageBack;
- (void)safeDelegate_immersiveMiddleExpressClickWithMaterial:(CSJMaterialMeta *)matrialMeta;
 
@end
 
NS_ASSUME_NONNULL_END