public final class VastProperties
extends java.lang.Object
Created by Natasha Garner on 09/09/2017.
Modifier and Type | Method and Description |
---|---|
static VastProperties |
createVastPropertiesForNonSkippableVideo(boolean isAutoPlay,
Position position)
This method enables the video player to create a new VAST properties instance for non-skippable video ad placement.
|
static VastProperties |
createVastPropertiesForSkippableVideo(float skipOffset,
boolean isAutoPlay,
Position position)
This method enables the video player to create a new VAST properties instance for skippable video ad placement.
|
public static VastProperties createVastPropertiesForSkippableVideo(float skipOffset, boolean isAutoPlay, Position position)
skipOffset
- number of seconds before the skip button is presentedisAutoPlay
- whether the video will auto-play contentposition
- of the video in relation to other contentjava.lang.IllegalArgumentException
- if the supplied Position is null.public static VastProperties createVastPropertiesForNonSkippableVideo(boolean isAutoPlay, Position position)
isAutoPlay
- whether the video will auto-play contentposition
- of the video in relation to other contentjava.lang.IllegalArgumentException
- if the supplied Position is null.