Wiki
Clone wikiAdobe Air Plugin / initWithRulesCaching
Overview
Enables test ads and initializes the AATKit library. Should be called once during application initialization before any other calls to AATKit.
Syntax
initWithRulesCaching(cachingEnabled:Boolean, initialRules:String)
cachingEnabled (required)
Boolean. Sets if AATKit should preserve last downloaded ad rules when the application is closed.
initialRules (required)
String. Optional parameter (can be null). Allows to set initial rules that will be used before real config is downloaded from the server.
returns void.
Examples
#!ActionScript import com.intentsoftware.adobe.aatkit.AATKitExtension; . . . AATKitExtension.getInstance().initWithRulesCaching(true, @"Some rules string...");
Updated