Builder

class Builder

Helper class to build an AdManagerSettings instance.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Ad player instance

Link copied to clipboard

Media File quality

Link copied to clipboard

Cache policy

Link copied to clipboard

Enqueue functionality switch

Link copied to clipboard

Max bitrate to be selected from the ad asset list

Link copied to clipboard

Id of the video view used to display the video

Functions

Link copied to clipboard

Set the cache policy for the AdManager
cachePolicy: only ASSETS value is now available

Link copied to clipboard

Ad your own player instance. If none provided, an internal player will be used
adsPlayerInstance: your player instance

Link copied to clipboard

Set the asset quality to be used by the AdManager
assetQuality: possible values Low,Medium, High and Auto. Default is High

Link copied to clipboard

Instructs the internal AdPlayer to automatically manage AudioFocus.
automaticallyManageAudioFocus: flag used in order to manage AudioFocus

Link copied to clipboard

Create AdManagerSettings

Link copied to clipboard

Set the enqueue option to be used by the AdManager

Link copied to clipboard
Link copied to clipboard

Remove the cache policy for the AdManager previously set
cachePolicy:

Link copied to clipboard

Set the video id where the video creative will be displayed for current AdManager. videoViewId is set in AdVideoView attribute
vid: videoViewId defined in AdVideoView attribute