Class RelatedConfig

java.lang.Object
com.jwplayer.pub.api.configuration.RelatedConfig

public final class RelatedConfig extends Object
  • Field Details

    • mFile

      public final String mFile
    • mOnComplete

      public final String mOnComplete
    • mOnClick

      public final String mOnClick
    • mAutoPlayTimer

      public final Integer mAutoPlayTimer
    • mAutoPlayMessage

      public final String mAutoPlayMessage
    • CREATOR

      public static final <any> CREATOR
  • Method Details

    • getFile

      public String getFile()
      Returns:
      (Required) Location of an RSS or JSON file containing a feed of related videos.
    • getOnComplete

      public String getOnComplete()
      Returns:
      The behavior of our related videos overlay when a single video or playlist is completed. Must be one of the RELATED_DISPLAY_ON_COMPLETE_ constants.
    • getOnClick

      public String getOnClick()
      Returns:
      The behavior when a related video is selected. Must be one of the RELATED_DISPLAY_ON_CLICK_ constants.
    • getAutoPlayTimer

      public Integer getAutoPlayTimer()
      Returns:
      The number of seconds to wait before playing the next related video in your content list. Set to 0 to have your next related content to play immediately.
    • getAutoPlayMessage

      @Deprecated public String getAutoPlayMessage()
      Deprecated.
      This API has been deprecated, override the key jwplayer_next_up_countdown in strings.xml to customize this message.
      Returns:
      A custom message that appears during autoplay.
    • describeContents

      public int describeContents()
    • writeToParcel

      public void writeToParcel(Parcel dest, int flags)