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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      POBLinear()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void build(@NonNull() POBNodeBuilder builder) POBXMLParser calls this method to build model class object with node builder
      String getUniversalAdId() A unique creative identifier
      double getDuration() 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.CreativeType getVastCreativeType() Getter method, provides type of creative which is implemented at child classes specific event type classes
      String getCustomClick() A URI for tracking custom interactions.
      List<POBMediaFile> getMediaFiles() List of MediaFile objects.
      List<POBIcon> getIconList() List of Icon objects.
      double getSkipOffset() 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
    • Constructor Detail

      • POBLinear

        POBLinear()
    • 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
      • 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

      • 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

      • getSkipOffset

         double getSkipOffset()

        Time value that identifies when skip controls are made available to the end user.

        Returns:

        offset time