bu.java
1.89 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
package com.lotus.town.notify;
import android.os.Bundle;
import android.support.annotation.Nullable;
import com.ad.lib.AdPlacement;
import com.ad.lib.RequestInfo;
import com.bytedance.sdk.openadsdk.AdSlot;
import com.controller.NotifyType;
import com.lotus.town.R;
/**
* 拔出充电器
*/
public class bu extends BaseNotifyActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
}
@Override
protected void initLayout() {
setContentView(R.layout.bu_notify_layout);
}
@Override
protected void initSmallView() {
}
@Override
protected void initSmallAd() {
}
@Override
protected String getEventName() {
return "u_s_a_d";
}
@Override
protected String getEventClickName() {
return "u_s_c";
}
@Override
protected String getEventPageName() {
return "u_s_p";
}
@Override
protected RequestInfo getSmallPlacementId() {
RequestInfo info = new RequestInfo();
info.setId(AdPlacement.getUnPlugBigId());
info.setWidth(1080);
info.setHeight(1920);
info.setType(AdSlot.TYPE_INTERACTION_AD);
return info;
}
@Override
protected RequestInfo getBigPlacementId() {
RequestInfo info = new RequestInfo();
info.setId(AdPlacement.getUnPlugBigId());
info.setWidth(1080);
info.setHeight(1920);
info.setType(AdSlot.TYPE_INTERACTION_AD);
return info;
}
@Override
protected void initInfo() {
}
@Override
protected void initView(){
super.initView();
}
@Override
protected int getSmallAdType() {
return 0;
}
@Override
protected int getBitAdType() {
return 0;
}
@Override
protected int getBigAdNotifyType() {
return NotifyType.BATTERY_UNPLUG_NOTIFY;
}
}