Package com.naver.ads.video.vast
Class VastParserOptions.Builder
-
- All Implemented Interfaces:
public final class VastParserOptions.BuilderBuilder for VastParserOptions instances.
-
-
Constructor Summary
Constructors Constructor Description VastParserOptions.Builder()
-
Method Summary
Modifier and Type Method Description final VastParserOptions.BuilderallowMultipleAds(Boolean allowMultipleAds)Sets whether to allow multiple ads. final VastParserOptions.BuildermaxRedirects(Integer maxRedirects)Sets the maximum number of VAST redirects. final VastParserOptions.BuildervastLoadTimeout(Long vastLoadTimeout)Sets the specifies the VAST load timeout in milliseconds for a single wrapper. final VastParserOptions.BuildervastMacros(Map<String, String> vastMacros)Sets the VAST Macro parameters. final VastParserOptionsbuild()Returns a new VastParserOptions -
-
Method Detail
-
allowMultipleAds
final VastParserOptions.Builder allowMultipleAds(Boolean allowMultipleAds)
Sets whether to allow multiple ads.
- Parameters:
allowMultipleAds- whether to allow multiple ads.- Returns:
this builder, for convenience.
-
maxRedirects
final VastParserOptions.Builder maxRedirects(Integer maxRedirects)
Sets the maximum number of VAST redirects.
- Parameters:
maxRedirects- the maximum number of VAST redirects.- Returns:
this build, for convenience.
-
vastLoadTimeout
final VastParserOptions.Builder vastLoadTimeout(Long vastLoadTimeout)
Sets the specifies the VAST load timeout in milliseconds for a single wrapper.
- Parameters:
vastLoadTimeout- the specifies the VAST load timeout in milliseconds for a single wrapper.- Returns:
this build, for convenience.
-
vastMacros
final VastParserOptions.Builder vastMacros(Map<String, String> vastMacros)
Sets the VAST Macro parameters.
- Parameters:
vastMacros- a map containing macro key-value pairs used for macro replacement in VAST ad tag URI and tracking URLs.- Returns:
this builder, for convenience.
-
build
final VastParserOptions build()
Returns a new VastParserOptions
-
-
-
-