Class POBLinear
-
- All Implemented Interfaces:
-
com.pubmatic.sdk.video.xmlserialiser.POBXMLNodeListener
public class POBLinear extends POBVastCreative
Instance of this modal class saves the data of Linear video ads. Linear Ads are the video or audio formatted ads that play linearly within the streaming content
-
-
Constructor Summary
Constructors Constructor Description POBLinear()
-
Method Summary
Modifier and Type Method Description voidbuild(@NonNull() POBNodeBuilder builder)POBXMLParser calls this method to build model class object with node builder StringgetUniversalAdId()A unique creative identifier doublegetDuration()Element to denote the intended playback duration for the video or audio component of the ad. List<POBTracking>getTrackingEvents()List of event tracker URL's POBVastCreative.CreativeTypegetVastCreativeType()Getter method, provides type of creative which is implemented at child classes specific event type classes StringgetCustomClick()A URI for tracking custom interactions. List<POBMediaFile>getMediaFiles()List of MediaFile objects. List<POBIcon>getIconList()List of Icon objects. doublegetSkipOffset()Time value that identifies when skip controls are made available to the end user. -
Methods inherited from class com.pubmatic.sdk.video.vastmodels.POBVastCreative
getClickThroughURL, getClickTrackers, getCreativeExtensions, getPubMaticExtension, getTrackingEventUrls, getTrackingEvents, setCreativeExtensions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
build
void build(@NonNull() POBNodeBuilder builder)
POBXMLParser calls this method to build model class object with node builder
- Parameters:
builder- Instance of POBNodeBuilder, to be used for building the model class object
-
getUniversalAdId
@Nullable() String getUniversalAdId()
A unique creative identifier
- Returns:
creative id
-
getDuration
double getDuration()
Element to denote the intended playback duration for the video or audio component of the ad.
Time value may be in the format HH:MM:SS.mmm where .mmm indicates milliseconds.
- Returns:
Time value
-
getTrackingEvents
@Nullable() List<POBTracking> getTrackingEvents()
List of event tracker URL's
- Returns:
List of the tracking URL specific model class
-
getVastCreativeType
POBVastCreative.CreativeType getVastCreativeType()
Getter method, provides type of creative which is implemented at child classes specific event type classes
- Returns:
creative type(linear, non-linear, campanion)
-
getCustomClick
@Nullable() String getCustomClick()
A URI for tracking custom interactions.
It is used to track any interactions with the linear ad that do not include the clickthrough click and do not take the viewer away from the media player.
- Returns:
custome click URL
-
getMediaFiles
@Nullable() List<POBMediaFile> getMediaFiles()
List of MediaFile objects. Each media file object contains a CDATA-wrapped URI to a media file along with it's attributes.
- Returns:
POBMediaFile list
-
getIconList
@Nullable() List<POBIcon> getIconList()
List of Icon objects.
- Returns:
POBIcon list
-
getSkipOffset
double getSkipOffset()
Time value that identifies when skip controls are made available to the end user.
- Returns:
offset time
-
-
-
-