Class AdBreak

java.lang.Object
com.jwplayer.pub.api.media.ads.AdBreak

public class AdBreak extends Object
An ad break.
  • Field Details

    • CREATOR

      public static final <any> CREATOR
  • Method Details

    • getTag

      public List<String> getTag()
      Returns:
      The ad tags that are called during the configured ad break.
    • getOffset

      public String getOffset()
      Returns:
      When to play the configured ad tag.
    • getSkipOffset

      public Integer getSkipOffset()
      Returns:
      When we enable an ad skip
    • getAdType

      public AdType getAdType()
      Returns:
      The ad type -- LINEAR or NONLINEAR.
    • getCustomParams

      public Map<String,String> getCustomParams()
      Returns:
      The custom parameters for this ad break.
    • describeContents

      public int describeContents()
    • writeToParcel

      public void writeToParcel(Parcel dest, int flags)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object