Class TheoAdDescription
-
- All Implemented Interfaces:
public class TheoAdDescription extends AdDescription
Describes a THEOads SGAI ad break request.
For THEOads, one configured ad break request suffices to enable THEOads ad playback for the entire stream.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringnetworkCodeprivate final StringcustomAssetKeyprivate final StringbackdropDoubleBoxprivate final StringbackdropLShapeprivate final TheoAdsLayoutOverrideoverrideLayoutprivate final Map<String, String>adTagParametersprivate final StringstreamActivityMonitorIdprivate final StringsseEndpointprivate final StringretrievePodIdURIprivate final BooleanuseId3private final BooleanuseEMSGprivate final DoubleinitializationDelayprivate final StringdaiAssetKeyprivate final AdIntegrationintegration
-
Constructor Summary
Constructors Constructor Description TheoAdDescription(String networkCode, String customAssetKey, String backdropDoubleBox, String backdropLShape, TheoAdsLayoutOverride overrideLayout, Map<String, String> adTagParameters, String streamActivityMonitorId, String sseEndpoint, String retrievePodIdURI, Boolean useId3, Boolean useEMSG, Double initializationDelay, String daiAssetKey)
-
Method Summary
Modifier and Type Method Description final StringgetNetworkCode()Default network code to use for ad requests. final StringgetCustomAssetKey()Default custom asset key to use for ad requests. final StringgetBackdropDoubleBox()Default backdrop image URI to be used as a background for ads in double box layout. final StringgetBackdropLShape()Default backdrop image URI to be used as a background for ads in L-shape layout. final TheoAdsLayoutOverridegetOverrideLayout()Override the layout of all THEOads ad breaks, if set. final Map<String, String>getAdTagParameters()The ad tag parameters added to the stream request. final StringgetStreamActivityMonitorId()The streamActivityMonitorId added to the GAM Pod stream request. final StringgetSseEndpoint()The endpoint from where to retrieve the server-sent events. final StringgetRetrievePodIdURI()The URI from where to retrieve the PodID's as returned from the EABN service from Google. final BooleangetUseId3()Whether to use the ID3-based operating mode. final BooleangetUseEMSG()Whether to use the EMSG-based operating mode. final DoublegetInitializationDelay()The amount of seconds we wait to initialize THEOads. final StringgetDaiAssetKey()The Google DAI asset key which will be used as a fallback source when THEOads is not supported. -
-
Constructor Detail
-
TheoAdDescription
TheoAdDescription(String networkCode, String customAssetKey, String backdropDoubleBox, String backdropLShape, TheoAdsLayoutOverride overrideLayout, Map<String, String> adTagParameters, String streamActivityMonitorId, String sseEndpoint, String retrievePodIdURI, Boolean useId3, Boolean useEMSG, Double initializationDelay, String daiAssetKey)
-
-
Method Detail
-
getNetworkCode
final String getNetworkCode()
Default network code to use for ad requests.
This will be overridden by network codes parsed from THEOads ad cues.
If no network code is configured, and it cannot be parsed from the THEOads ad cue, ads will not be loaded.
-
getCustomAssetKey
final String getCustomAssetKey()
Default custom asset key to use for ad requests.
This will be overridden by custom asset keys parsed from THEOads ad cues.
If no custom asset key is configured, and it cannot be parsed from the THEOads ad cue, ads will not be loaded.
-
getBackdropDoubleBox
final String getBackdropDoubleBox()
Default backdrop image URI to be used as a background for ads in double box layout.
This will be overridden by backdrop image URIs parsed from THEOads ad cues.
If no URI is configured, and it cannot be parsed from the THEOads ad cue, a black screen will be shown as background.
-
getBackdropLShape
final String getBackdropLShape()
Default backdrop image URI to be used as a background for ads in L-shape layout.
This will be overridden by backdrop image URIs parsed from THEOads ad cues.
If no URI is configured, and it cannot be parsed from the THEOads ad cue, a black screen will be shown as background.
-
getOverrideLayout
final TheoAdsLayoutOverride getOverrideLayout()
Override the layout of all THEOads ad breaks, if set.
-
getAdTagParameters
final Map<String, String> getAdTagParameters()
The ad tag parameters added to the stream request.
-
getStreamActivityMonitorId
final String getStreamActivityMonitorId()
The streamActivityMonitorId added to the GAM Pod stream request.
-
getSseEndpoint
final String getSseEndpoint()
The endpoint from where to retrieve the server-sent events.
-
getRetrievePodIdURI
final String getRetrievePodIdURI()
The URI from where to retrieve the PodID's as returned from the EABN service from Google.
-
getUseId3
final Boolean getUseId3()
Whether to use the ID3-based operating mode.
Only applicable for specific use-cases.
Contact Dolby Optiview for more information.
-
getUseEMSG
final Boolean getUseEMSG()
Whether to use the EMSG-based operating mode.
Only applicable for specific use-cases.
Contact Dolby Optiview for more information.
-
getInitializationDelay
final Double getInitializationDelay()
The amount of seconds we wait to initialize THEOads.
-
getDaiAssetKey
final String getDaiAssetKey()
The Google DAI asset key which will be used as a fallback source when THEOads is not supported.
-
-
-
-