Class RelatedConfig
java.lang.Object
com.jwplayer.pub.api.configuration.RelatedConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static @interface
static @interface
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.This API has been deprecated, override the key jwplayer_next_up_countdown in strings.xml to customize this message.getFile()
void
writeToParcel
(Parcel dest, int flags)
-
Field Details
-
RELATED_ON_COMPLETE_HIDE
OnComplete StringDef- See Also:
-
RELATED_ON_COMPLETE_SHOW
- See Also:
-
RELATED_ON_COMPLETE_NONE
- See Also:
-
RELATED_ON_COMPLETE_AUTOPLAY
- See Also:
-
RELATED_ON_CLICK_PLAY
OnClick StringDef- See Also:
-
RELATED_ON_CLICK_LINK
- See Also:
-
mFile
-
mOnComplete
-
mOnClick
-
mAutoPlayTimer
-
mAutoPlayMessage
-
CREATOR
public static final <any> CREATOR
-
-
Method Details
-
getFile
- Returns:
- (Required) Location of an RSS or JSON file containing a feed of related videos.
-
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
- Returns:
- The behavior when a related video is selected. Must be one of the RELATED_DISPLAY_ON_CLICK_ constants.
-
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.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)
-