admin
2024-10-30 4c44b1036ff555e63a9a8b027dbe89d0b08a430b
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.weikou.beibeivideo.entity.ad;
 
import com.bytedance.sdk.openadsdk.TTNativeExpressAd;
import com.huawei.hms.ads.nativead.NativeAd;
import com.huawei.hms.ads.nativead.NativeView;
import com.qq.e.ads.nativ.NativeExpressADView;
import com.qq.e.ads.nativ.NativeUnifiedADData;
 
//信息流原生广告容器
public class ExpressAdContainer {
 
    TTNativeExpressAd csj;
    NativeExpressADView gdt;//旧版广点通
    NativeUnifiedADData gdt2Unfied;//2.0广点通自渲染
    NativeView hwView; // 华为广告视图
    NativeAd hwad; // 华为广告
 
    public NativeUnifiedADData getGdt2Unfied() {
        return gdt2Unfied;
    }
 
    public void setGdt2Unfied(NativeUnifiedADData gdt2Unfied) {
        this.gdt2Unfied = gdt2Unfied;
    }
 
    public ExpressAdContainer() {
    }
 
    public ExpressAdContainer(TTNativeExpressAd csj) {
        this.csj = csj;
    }
 
    public ExpressAdContainer(NativeExpressADView gdt) {
        this.gdt = gdt;
    }
 
    public ExpressAdContainer(NativeUnifiedADData gdt2Unfied) {
        this.gdt2Unfied = gdt2Unfied;
    }
 
    public ExpressAdContainer(NativeView hwView) {
        this.hwView = hwView;
    }
 
 
    public TTNativeExpressAd getCsj() {
        return csj;
    }
 
    public void setCsj(TTNativeExpressAd csj) {
        this.csj = csj;
    }
 
    public NativeExpressADView getGdt() {
        return gdt;
    }
 
    public void setGdt(NativeExpressADView gdt) {
        this.gdt = gdt;
    }
 
    public NativeView getHwView() {
        return hwView;
    }
 
    public void setHwView(NativeView hwView) {
        this.hwView = hwView;
    }
 
    public NativeAd getHwad() {
        return hwad;
    }
 
    public void setHwad(NativeAd hwad) {
        this.hwad = hwad;
    }
}