public final class AdAsset
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AdAsset.AdType
The ad types
|
| Constructor and Description |
|---|
AdAsset(java.lang.String adId,
java.lang.String adTitle,
java.lang.String url,
DeliveryType deliveryType,
AdAsset.AdType adType,
boolean isSkippable,
long skipOffset,
int adNumber,
int totalAdsInAdBreak)
Constructor of an AdId.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdId() |
int |
getAdNumber() |
java.lang.String |
getAdTitle() |
AdAsset.AdType |
getAdType() |
DeliveryType |
getDeliveryType() |
long |
getSkipOffset() |
int |
getTotalAdsInAdBreak() |
java.lang.String |
getUrl() |
boolean |
isFirstAdInAdBreak() |
boolean |
isLastAdInAdBreak() |
boolean |
isSkippable() |
public AdAsset(@NonNull
java.lang.String adId,
@NonNull
java.lang.String adTitle,
@NonNull
java.lang.String url,
@NonNull
DeliveryType deliveryType,
@NonNull
AdAsset.AdType adType,
boolean isSkippable,
long skipOffset,
int adNumber,
int totalAdsInAdBreak)
adId - the ad Id.adTitle - the ad title.url - the ad url.deliveryType - the ad DeliveryType.adType - the ad AdAsset.AdType.isSkippable - whether the ad can be skipped.skipOffset - the ad skip offset. Indicates when the ad can be skipped.adNumber - the 1-indexed ad number in the ad break.totalAdsInAdBreak - the number of ads in the ad break.@NonNull public java.lang.String getAdId()
@NonNull public java.lang.String getAdTitle()
@NonNull public java.lang.String getUrl()
@NonNull public DeliveryType getDeliveryType()
DeliveryType.@NonNull public AdAsset.AdType getAdType()
AdAsset.AdType.public boolean isSkippable()
public long getSkipOffset()
public int getAdNumber()
public int getTotalAdsInAdBreak()
public boolean isFirstAdInAdBreak()
public boolean isLastAdInAdBreak()