Builder
Helper class to build an AdManagerSettings instance.
Properties
Ad player instance
Media File quality
Cache policy
Enqueue functionality switch
Max bitrate to be selected from the ad asset list
Id of the video view used to display the video
Functions
Set the cache policy for the AdManager
cachePolicy: only ASSETS value is now available
Ad your own player instance. If none provided, an internal player will be used
adsPlayerInstance: your player instance
Set the asset quality to be used by the AdManager
assetQuality: possible values Low,Medium, High and Auto. Default is High
Instructs the internal AdPlayer to automatically manage AudioFocus.
automaticallyManageAudioFocus: flag used in order to manage AudioFocus
Create AdManagerSettings
Set the enqueue option to be used by the AdManager
Remove the cache policy for the AdManager previously set
cachePolicy:
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