package com.adsdk.sdk.video;
import com.adsdk.sdk.Ad;
public class RichMediaAd implements Ad {
private static final long serialVersionUID = 6443573739926220979L;
public final static int ANIMATION_FADE_IN = 1;
public final static int ANIMATION_SLIDE_IN_TOP = 2;
public final static int ANIMATION_SLIDE_IN_BOTTOM = 3;
public final static int ANIMATION_SLIDE_IN_LEFT = 4;
public final static int ANIMATION_SLIDE_IN_RIGHT = 5;
public final static int ANIMATION_FLIP_IN = 6;
public static final int ANIMATION_NONE = 0;
private int type;
private int animation;
private VideoData video;
private InterstitialData interstitial;
private long timestamp;
@Override
public int getType() {
return type;
}
@Override
public void setType(int adType) {
this.type = adType;
}
public int getAnimation() {
return animation;
}
public void setAnimation(int animation) {
this.animation = animation;
}
public VideoData getVideo() {
return video;
}
public void setVideo(VideoData video) {
this.video = video;
}
public InterstitialData getInterstitial() {
return interstitial;
}
public void setInterstitial(InterstitialData interstitial) {
this.interstitial = interstitial;
}
public long getTimestamp() {
return timestamp;
}
public void setTimestamp(long timestamp) {
this.timestamp = timestamp;
}
@Override
public String toString() {
return "RichMediaAD [timestamp=" + timestamp + ", type=" + type
+ ", animation=" + animation + ", video=" + video
+ ", interstitial=" + interstitial + "]";
}
}