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)AATConfiguration *conf = [[AATConfiguration alloc] init];
...
AATDisplayIOOptions *displayIOOptions = [[AATDisplayIOOptions alloc] initWithShowSoundControl:ShowSoundControl
interscrollerHeight:interscrollerHeight
interscrollerTopOffset:interscrollerTopOffset];
conf.adNetworksOptions = [[AATAdNetworksOptions alloc] initWithAppNexusOptions:nil
feedAdOptions:nil
adMobOptions:nil
dfpOptions:nil
datonomyOptions:nil
superAwesomeOptions:nil
graviteRTBOptions:nil
displayIOOptions:displayIOOptions
metaBiddingOptions:nil];
...
[AATSDK initAATKitWith:conf];Last updated