Class POBVastPlayerConfig
-
- All Implemented Interfaces:
public class POBVastPlayerConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPOBVastPlayerConfig.ConfigBuilderAn internal builder class for video config
-
Field Summary
Fields Modifier and Type Field Description public intminDurationpublic intmaxDurationpublic intskippublic intskipMinpublic intskipAfterpublic intwrapperUriTimeoutpublic intmediaUriTimeoutpublic final intendCardSkipAfter
-
Method Summary
Modifier and Type Method Description intgetMinDuration()Minimum video ad duration in seconds intgetMaxDuration()Maximum video ad duration in seconds intgetSkip()Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes intgetSkipMin()Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable. intgetSkipAfter()Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable. intgetWrapperUriTimeout()Wrapper Uri request timeout intgetMediaUriTimeout()Media Uri loading timeout intgetEndCardSkipAfter()Number of seconds a end card must be shown before skipping is enabled. booleanisPlayOnMute()Returns the player behavior to play video creative with sound On/Off. booleanisBackButtonEnabled()Returns if hardware back button should be enabled or not booleanisSkipAfterCompletionEnabled()Return true if default skip is after completion. -
-
Method Detail
-
getMinDuration
int getMinDuration()
Minimum video ad duration in seconds
- Returns:
minDuration in seconds
-
getMaxDuration
int getMaxDuration()
Maximum video ad duration in seconds
- Returns:
maxDuration in seconds
-
getSkip
int getSkip()
Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes
- Returns:
skipValue either 0 or 1
-
getSkipMin
int getSkipMin()
Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
- Returns:
skipMin in seconds
-
getSkipAfter
int getSkipAfter()
Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
- Returns:
skipAfter in seconds
-
getWrapperUriTimeout
int getWrapperUriTimeout()
Wrapper Uri request timeout
- Returns:
the wrapperUriTimeout in millisecond's
-
getMediaUriTimeout
int getMediaUriTimeout()
Media Uri loading timeout
- Returns:
the mediaUriTimeout in millisecond's
-
getEndCardSkipAfter
int getEndCardSkipAfter()
Number of seconds a end card must be shown before skipping is enabled.
- Returns:
skipAfter in seconds
-
isPlayOnMute
boolean isPlayOnMute()
Returns the player behavior to play video creative with sound On/Off.
- Returns:
player state. true indicates video should be layed with sound OFF else ON.
-
isBackButtonEnabled
boolean isBackButtonEnabled()
Returns if hardware back button should be enabled or not
- Returns:
back button state. true indicates button should be enabled, false by default
-
isSkipAfterCompletionEnabled
boolean isSkipAfterCompletionEnabled()
Return true if default skip is after completion.
- Returns:
skipAfterCompletion state, true means default skip is after completion, false by default.
-
-
-
-