Class VideoAdsRenderingOptions
-
- All Implemented Interfaces:
-
com.naver.ads.video.VideoAdsOptimizationOptions
public final class VideoAdsRenderingOptions implements VideoAdsOptimizationOptions
Defines parameters that control the rendering of video ads.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoAdsRenderingOptions.BuilderBuilder for VideoAdsRenderingOptions instances.
-
Field Summary
Fields Modifier and Type Field Description private final IntegermaxBitrateKbpsprivate final List<VideoAdMimeType>mimeTypesprivate final BooleanenablePreloadingprivate final LongloadVideoTimeoutprivate final ResolvedAdViewGroup.FactoryadOverlayViewFactoryprivate final ResolvedCompanionAdViewGroup.FactorycompanionAdViewFactoryprivate final AdWebViewController.FactoryadWebViewControllerFactoryprivate final ClickHandlerclickHandlerprivate final BooleanautoPrepareNextAd
-
Constructor Summary
Constructors Constructor Description VideoAdsRenderingOptions(Integer maxBitrateKbps, List<VideoAdMimeType> mimeTypes, Boolean enablePreloading, Long loadVideoTimeout, ResolvedAdViewGroup.Factory adOverlayViewFactory, ResolvedCompanionAdViewGroup.Factory companionAdViewFactory, AdWebViewController.Factory adWebViewControllerFactory, ClickHandler clickHandler, Boolean autoPrepareNextAd)Constructs a new VideoAdsRenderingOptions instance.
-
Method Summary
Modifier and Type Method Description IntegergetMaxBitrateKbps()the maximum recommended bitrate(kbps). List<VideoAdMimeType>getMimeTypes()the supported mime type. final BooleangetEnablePreloading()the boolean value the identifies whether to enable pre loading. final LonggetLoadVideoTimeout()the Specifies a non-default amount of time to wait for media to load before timing out, in milliseconds. final ResolvedAdViewGroup.FactorygetAdOverlayViewFactory()the factory for view used to render ad overlay. final ResolvedCompanionAdViewGroup.FactorygetCompanionAdViewFactory()the factory for view used to render companion ad. final AdWebViewController.FactorygetAdWebViewControllerFactory()the factory for controller used to load and render ad webview. final ClickHandlergetClickHandler()the handler that handles clicking events. final BooleangetAutoPrepareNextAd()whether to prepare the next ad when the complete event occurs. final VideoAdsRenderingOptions.BuilderbuildUpon()Constructs a new Options via VideoAdsRenderingOptions.BuilderNote: this method is intended to be used from Java code only. -
-
Constructor Detail
-
VideoAdsRenderingOptions
VideoAdsRenderingOptions(Integer maxBitrateKbps, List<VideoAdMimeType> mimeTypes, Boolean enablePreloading, Long loadVideoTimeout, ResolvedAdViewGroup.Factory adOverlayViewFactory, ResolvedCompanionAdViewGroup.Factory companionAdViewFactory, AdWebViewController.Factory adWebViewControllerFactory, ClickHandler clickHandler, Boolean autoPrepareNextAd)
Constructs a new VideoAdsRenderingOptions instance.
-
-
Method Detail
-
getMaxBitrateKbps
Integer getMaxBitrateKbps()
the maximum recommended bitrate(kbps).
-
getMimeTypes
List<VideoAdMimeType> getMimeTypes()
the supported mime type.
-
getEnablePreloading
final Boolean getEnablePreloading()
the boolean value the identifies whether to enable pre loading.
-
getLoadVideoTimeout
final Long getLoadVideoTimeout()
the Specifies a non-default amount of time to wait for media to load before timing out, in milliseconds.
-
getAdOverlayViewFactory
final ResolvedAdViewGroup.Factory getAdOverlayViewFactory()
the factory for view used to render ad overlay.
-
getCompanionAdViewFactory
final ResolvedCompanionAdViewGroup.Factory getCompanionAdViewFactory()
the factory for view used to render companion ad.
-
getAdWebViewControllerFactory
final AdWebViewController.Factory getAdWebViewControllerFactory()
the factory for controller used to load and render ad webview.
-
getClickHandler
final ClickHandler getClickHandler()
the handler that handles clicking events.
-
getAutoPrepareNextAd
final Boolean getAutoPrepareNextAd()
whether to prepare the next ad when the complete event occurs.
-
buildUpon
@SinceKotlin(version = "999.9") final VideoAdsRenderingOptions.Builder buildUpon()
Constructs a new Options via VideoAdsRenderingOptions.Builder
Note: this method is intended to be used from Java code only. For idiomatic Kotlin use copy to modify VideoAdsRenderingOptions
-
-
-
-