| Package | com.adobe.mediacore.adresolver |
| Class | public class AdPlacementInitializer |
| Inheritance | AdPlacementInitializer flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| adPlacement : AdPlacement [read-only]
The ad placement that was passed for processing
| AdPlacementInitializer | ||
| finishedInitializing : Boolean [read-only]
Indicates whether the ad placement has been initialized
| AdPlacementInitializer | ||
| Method | Defined By | ||
|---|---|---|---|
AdPlacementInitializer(adPlacement:AdPlacement)
Constructor. | AdPlacementInitializer | ||
dispose():void
Free resources and remove object references. | AdPlacementInitializer | ||
initialize(shouldEnqueue:Boolean = false):void
Begins the actual initialization
| AdPlacementInitializer | ||
startInitializing():void
Begins the initializing of the ad placement
| AdPlacementInitializer | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the initializing has completed successfully | AdPlacementInitializer | |||
| Dispatched if there was an error when trying to initialize the ad placement | AdPlacementInitializer | |||
| adPlacement | property |
adPlacement:AdPlacement [read-only] The ad placement that was passed for processing
public function get adPlacement():AdPlacement| finishedInitializing | property |
finishedInitializing:Boolean [read-only] Indicates whether the ad placement has been initialized
public function get finishedInitializing():Boolean| AdPlacementInitializer | () | Constructor |
public function AdPlacementInitializer(adPlacement:AdPlacement)Constructor.
ParametersadPlacement:AdPlacement — The AdPlacement object to initialize
|
ArgumentError — If a null adPlacement is passed
|
| dispose | () | method |
public function dispose():voidFree resources and remove object references.
| initialize | () | method |
public function initialize(shouldEnqueue:Boolean = false):voidBegins the actual initialization
Parameters
shouldEnqueue:Boolean (default = false) — Used to specify whether we should enqueue this ad initialization
as opposed to starting to initialize it immediately.
|
See also
| startInitializing | () | method |
public function startInitializing():voidBegins the initializing of the ad placement
| adPlacementInitializationComplete | Event |
com.adobe.mediacore.events.AdPlacementInitializerEventDispatched when the initializing has completed successfully
| adPlacementInitializationFail | Event |
com.adobe.mediacore.events.AdPlacementInitializerEventDispatched if there was an error when trying to initialize the ad placement