| | |
| | | @Expose |
| | | private AttentionInfo attention; |
| | | |
| | | @Expose |
| | | private String sessionId; |
| | | |
| | | public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention) { |
| | | |
| | | public VideoDetailVO(VideoInfoDetail video, VideoAdInfo adInfo, AttentionInfo attention, String sessionId) { |
| | | this.video = video; |
| | | this.adInfo = adInfo; |
| | | this.attention = attention; |
| | | this.sessionId = sessionId; |
| | | } |
| | | |
| | | public VideoInfoDetail getVideo() { |
| | |
| | | //全屏视频广告 |
| | | @Expose |
| | | private boolean fullVideo; |
| | | //全屏视频广告比例 |
| | | @Expose |
| | | private int fullVideoWeight; |
| | | //插屏广告比例 |
| | | @Expose |
| | | private int interstitialWeight; |
| | | |
| | | |
| | | public VideoAdInfo(boolean playVideo, boolean fullVideo) { |
| | | this.playVideo = playVideo; |
| | | this.fullVideo = fullVideo; |
| | | } |
| | | |
| | | public int getFullVideoWeight() { |
| | | return fullVideoWeight; |
| | | } |
| | | |
| | | public void setFullVideoWeight(int fullVideoWeight) { |
| | | this.fullVideoWeight = fullVideoWeight; |
| | | } |
| | | |
| | | public int getInterstitialWeight() { |
| | | return interstitialWeight; |
| | | } |
| | | |
| | | public void setInterstitialWeight(int interstitialWeight) { |
| | | this.interstitialWeight = interstitialWeight; |
| | | } |
| | | |
| | | public boolean isPlayVideo() { |
| | | return playVideo; |
| | | } |