Package com.jwplayer.pub.api.media.ads
Class AdBreak.Builder
java.lang.Object
com.jwplayer.pub.api.media.ads.AdBreak.Builder
- Enclosing class:
- AdBreak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()customParams(Map<String, String> custParams) skipOffset(Integer skipOffset)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tag
- Parameters:
tags- The ad tags that are called during the configured ad break.
-
tag
- Parameters:
tag- The ad tags that are called during the configured ad break.
-
offset
- Parameters:
offset- When to play the configured ad tag. "pre": Ad plays as a preroll "post": Ad plays as a postroll "xx%": Ad plays after xx% of the content number: Ad plays after the specified number of seconds
-
skipOffset
-
adType
- Parameters:
adType- This should be set to NONLINEAR if you want to force the player to render a nonlinear ad in the ad response.
-
customParams
- Parameters:
custParams- Allows for passing custom parameters to an ad break, which then pass through to the URL requested from the ad server.
-
build
-