Class AdLoadedEvent

java.lang.Object
com.jwplayer.pub.api.events.Event
com.jwplayer.pub.api.events.AdLoadedEvent

public class AdLoadedEvent extends Event
Payload to accompany the onAdLoaded() event
  • Constructor Details

  • Method Details

    • getClient

      public AdClient getClient()
      Returns:
      The client that is currently being used
    • getAdBreakId

      public String getAdBreakId()
      Returns:
      Unique ID for each ad break
    • getAdPlayId

      public String getAdPlayId()
      Returns:
      Unique ID for each ad
    • getOffset

      public String getOffset()
      Returns:
      Position of an ad
    • getId

      public String getId()
      Returns:
      Unique ad ID
    • getTag

      public String getTag()
      Returns:
      URL of the ad tag
    • getAdposition

      public AdPosition getAdposition()
      Returns:
      Position of the ad
    • getAdScheduleFromEvent

      public AdScheduleFromEvent getAdScheduleFromEvent()
      Returns:
      Ad break information
    • getSequence

      public int getSequence()
      Returns:
      Returns the sequence number with which the ad associated
    • getWitem

      public int getWitem()
      Returns:
      Waterfall index
    • getWcount

      public int getWcount()
      Returns:
      Waterfall count
    • getAdsystem

      public String getAdsystem()
      Returns:
      From the ad XML, name of the ad server that returned the ad
    • getType

      public String getType()
      Returns:
      Category of the player event
    • getTimeLoading

      public int getTimeLoading()
      Returns:
      Time the ad took to load in milliseconds