Class Advertisement
java.lang.Object
com.exxothermic.audioeverywheresdk.business.model.Advertisement
- Direct Known Subclasses:
AdvertisementMixinAnnotations
Class that will represent an ad on the application
- Since:
- 8/12/14
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
IMAGE_AD
- See Also:
-
VIDEO_AD
- See Also:
-
INVALID_VIDEO_RESOURCE
public static final int INVALID_VIDEO_RESOURCE- See Also:
-
-
Constructor Details
-
Advertisement
public Advertisement()
-
-
Method Details
-
toString
-
setType
-
getType
-
setUrl
-
getUrl
-
setSkipTime
-
getSkipTime
-
getSkipEnabled
-
getRecommendedAutoDismissTime
public static int getRecommendedAutoDismissTime() -
isValid
public boolean isValid()Method that indicates if the current advertisement is valid or not- Returns:
- true if the advertisement is valid, false otherwise
-