Class POBTracking

  • All Implemented Interfaces:
    com.pubmatic.sdk.video.xmlserialiser.POBXMLNodeListener

    
    public class POBTracking
     implements POBXMLNodeListener
                        

    Class to represent single VAST tracking element. Video player uses this element to notify ad server to record an event.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      POBTracking()
    • 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 getEvent() Returns the name of event
      String getUrl() Returns the resource or ad server url
      String getOffset() To notify the ad server when the ad's progress has reached the indicated percentage or time value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POBTracking

        POBTracking()
    • 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
      • getOffset

        @Nullable() String getOffset()

        To notify the ad server when the ad's progress has reached the indicated percentage or time value. The time can be in the format HH:MM:SS.mmm, HH:MM:SS or percentage.

        Returns:

        offset in time or percentage