Package com.naver.ads.video.vast
Interface ResolvedAdPodInfo
-
- All Implemented Interfaces:
-
android.os.Parcelable
public interface ResolvedAdPodInfo implements Parcelable
An ad may be part of a pod of ads. This object exposes metadata related to that pod, such as the number of ads in the pod and the ad position within the pod.
-
-
Method Summary
Modifier and Type Method Description abstract IntegergetAdPosition()the position of the ad within the pod. abstract IntegergetTotalAds()the total number of ads contained within this pod, including bumpers. abstract LonggetTimeOffsetMillis()the content time offset at which the current ad pod was scheduled. -
-
Method Detail
-
getAdPosition
abstract Integer getAdPosition()
the position of the ad within the pod. The value returned is one-based, for example, 1 of 2, 2 of 2, etc. If the ad is not part of a pod, this will return 1.
-
getTotalAds
abstract Integer getTotalAds()
the total number of ads contained within this pod, including bumpers. If the ad is not part of a pod, this will return 1.
-
getTimeOffsetMillis
abstract Long getTimeOffsetMillis()
the content time offset at which the current ad pod was scheduled. For preroll pod, 0 is returned, For midrolls, the scheduled time is returned in milliseconds, For postroll, -1 is returned. Defaults to 0 if this ad is not part a pod, or the pod is not part of an ad playlist.
-
-
-
-