Class RelatedConfig

java.lang.Object
com.jwplayer.pub.api.configuration.RelatedConfig
All Implemented Interfaces:
android.os.Parcelable

public final class RelatedConfig extends Object implements android.os.Parcelable
  • Field Details

  • Method Details

    • getFile

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

      @NonNull 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

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

      @NonNull 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

      @Nullable @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()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable