JsShareBean.java
3.77 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
package com.wd.foundation.bean;
import com.wd.foundation.bean.custom.share.ShareBean;
import java.io.Serializable;
public class JsShareBean implements Serializable {
/**
* 分享类型:1.文字类型分享 2.网页类型分享
*/
private int type;
/**
* 是否显示分享:1 显示分享按钮 0 不显示
*/
private int isShowShare;
/**
* 分享文本(当type为1时 传入需要分享的文本内容 )
*/
private String text;
/**
* 分享标题(当type为2时可用)
*/
private String title;
/**
* 分享描述(当type为2时可用 )
*/
private String description;
/**
* 分享链接(当type为2时可用 )
*/
private String webpageUrl;
/**
* 分享图标链接(当type为2时可用,分享小icon需小于64k)
*/
private String imageUrl;
/**
* 分享的内容Id:活动ID、视频ID等
*/
private String contentId;
/**
* 1.facebook 2.twitter 3.微信 4.微信朋友圈 5.微博 6.系统分享 7. 弹框App全分享 8.海报分享
*/
private String sharePlatform;
/**
* 分享完成结果回调js 方法名称,例如:appShareResult
*/
private String tapShareEventCallbackName;
/**
* 分享数据
*/
private ShareBean shareInfo;
/**
* 海报图 base64 data数据 (当sharePlatform == 7 或 8时 传 )
*/
private String posterImageData;
/**
* 分享埋点参数
*/
private ShareTrackParameters shareTrackParameters;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public int getIsShowShare() {
return isShowShare;
}
public void setIsShowShare(int isShowShare) {
this.isShowShare = isShowShare;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getWebpageUrl() {
return webpageUrl;
}
public void setWebpageUrl(String webpageUrl) {
this.webpageUrl = webpageUrl;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public String getContentId() {
return contentId;
}
public void setContentId(String contentId) {
this.contentId = contentId;
}
public String getSharePlatform() {
return sharePlatform;
}
public void setSharePlatform(String sharePlatform) {
this.sharePlatform = sharePlatform;
}
public String getTapShareEventCallbackName() {
return tapShareEventCallbackName;
}
public void setTapShareEventCallbackName(String tapShareEventCallbackName) {
this.tapShareEventCallbackName = tapShareEventCallbackName;
}
public ShareBean getShareInfo() {
return shareInfo;
}
public void setShareInfo(ShareBean shareInfo) {
this.shareInfo = shareInfo;
}
public String getPosterImageData() {
return posterImageData;
}
public void setPosterImageData(String posterImageData) {
this.posterImageData = posterImageData;
}
public ShareTrackParameters getShareTrackParameters() {
return shareTrackParameters;
}
public void setShareTrackParameters(ShareTrackParameters shareTrackParameters) {
this.shareTrackParameters = shareTrackParameters;
}
}