DisplayIO
To pass specific DisplayIO options:
Create an instance of AATAdNetworksOptions including your AATDisplayIOOptions.
Provide this instance to the AATConfiguration while initialising AATKit.
AATKit will automatically forward the specified options to the DisplayIO SDK during ad loading.
let conf = AATConfiguration()
...
let displayIOOptions = AATDisplayIOOptions(showSoundControl: showSoundControl, interscrollerHeight: interscrollerHeight, interscrollerTopOffset: interscrollerTopOffset)
conf.adNetworksOptions = AATAdNetworksOptions(displayIOOptions: displayIOOptions)
...
AATSDK.initAATKit(with: conf)
Last updated