Package com.naver.ads.video
Class VideoAdsRenderingOptions.Builder
-
- All Implemented Interfaces:
public final class VideoAdsRenderingOptions.BuilderBuilder for VideoAdsRenderingOptions instances.
-
-
Constructor Summary
Constructors Constructor Description VideoAdsRenderingOptions.Builder()
-
Method Summary
Modifier and Type Method Description final VideoAdsRenderingOptions.BuildermaxBitrateKbps(Integer bitrateKbps)Sets the maxBitrate(kbps). final VideoAdsRenderingOptions.BuildermimeTypes(List<VideoAdMimeType> mimeTypes)Sets the list of VideoAdMimeType. final VideoAdsRenderingOptions.BuilderenablePreloading(Boolean enablePreloading)Sets whether to preload or not. final VideoAdsRenderingOptions.BuilderloadVideoTimeout(Long loadVideoTimeout)Sets the Specifies a non-default amount of time to wait for media to load before timing out, in milliseconds. final VideoAdsRenderingOptions.BuilderadOverlayViewFactory(ResolvedAdViewGroup.Factory adOverlayViewFactory)Sets the ResolvedAdViewGroup.Factory. final VideoAdsRenderingOptions.BuilderadWebViewControllerFactory(AdWebViewController.Factory adWebViewControllerFactory)Sets the AdWebViewController.Factory. final VideoAdsRenderingOptions.BuildercompanionAdViewFactory(ResolvedCompanionAdViewGroup.Factory companionAdViewFactory)Sets the ResolvedCompanionAdViewGroup.Factory. final VideoAdsRenderingOptions.BuilderclickHandler(ClickHandler clickHandler)Sets the ClickHandler. final VideoAdsRenderingOptions.BuilderautoPrepareNextAd(Boolean autoPrepareNextAd)Sets whether to prepare the next ad when the complete event occurs. final VideoAdsRenderingOptionsbuild()Returns a new VideoAdsRenderingOptions. -
-
Method Detail
-
maxBitrateKbps
final VideoAdsRenderingOptions.Builder maxBitrateKbps(Integer bitrateKbps)
Sets the maxBitrate(kbps).
-
mimeTypes
final VideoAdsRenderingOptions.Builder mimeTypes(List<VideoAdMimeType> mimeTypes)
Sets the list of VideoAdMimeType.
-
enablePreloading
final VideoAdsRenderingOptions.Builder enablePreloading(Boolean enablePreloading)
Sets whether to preload or not.
-
loadVideoTimeout
final VideoAdsRenderingOptions.Builder loadVideoTimeout(Long loadVideoTimeout)
Sets the Specifies a non-default amount of time to wait for media to load before timing out, in milliseconds.
-
adOverlayViewFactory
final VideoAdsRenderingOptions.Builder adOverlayViewFactory(ResolvedAdViewGroup.Factory adOverlayViewFactory)
Sets the ResolvedAdViewGroup.Factory.
-
adWebViewControllerFactory
final VideoAdsRenderingOptions.Builder adWebViewControllerFactory(AdWebViewController.Factory adWebViewControllerFactory)
Sets the AdWebViewController.Factory.
-
companionAdViewFactory
final VideoAdsRenderingOptions.Builder companionAdViewFactory(ResolvedCompanionAdViewGroup.Factory companionAdViewFactory)
Sets the ResolvedCompanionAdViewGroup.Factory.
-
clickHandler
final VideoAdsRenderingOptions.Builder clickHandler(ClickHandler clickHandler)
Sets the ClickHandler.
-
autoPrepareNextAd
final VideoAdsRenderingOptions.Builder autoPrepareNextAd(Boolean autoPrepareNextAd)
Sets whether to prepare the next ad when the complete event occurs.
-
build
final VideoAdsRenderingOptions build()
Returns a new VideoAdsRenderingOptions.
-
-
-
-