Packagecom.adobe.mediacore.adresolver
Classpublic class AdPlacementInitializer
InheritanceAdPlacementInitializer Inheritance flash.events.EventDispatcher

The AdPlacementProcessor is capable of initializing an ad placement (creating and initializing its stream provider).



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Constructor.
AdPlacementInitializer
  
dispose():void
Free resources and remove object references.
AdPlacementInitializer
  
initialize(shouldEnqueue:Boolean = false):void
Begins the actual initialization
AdPlacementInitializer
  
Begins the initializing of the ad placement
AdPlacementInitializer
Events
 Event Summary Defined By
  Dispatched when the initializing has completed successfullyAdPlacementInitializer
  Dispatched if there was an error when trying to initialize the ad placementAdPlacementInitializer
Property Detail
adPlacementproperty
adPlacement:AdPlacement  [read-only]

The ad placement that was passed for processing


Implementation
    public function get adPlacement():AdPlacement
finishedInitializingproperty 
finishedInitializing:Boolean  [read-only]

Indicates whether the ad placement has been initialized


Implementation
    public function get finishedInitializing():Boolean
Constructor Detail
AdPlacementInitializer()Constructor
public function AdPlacementInitializer(adPlacement:AdPlacement)

Constructor.

Parameters
adPlacement:AdPlacement — The AdPlacement object to initialize

Throws
ArgumentError — If a null adPlacement is passed
Method Detail
dispose()method
public function dispose():void

Free resources and remove object references.

initialize()method 
public function initialize(shouldEnqueue:Boolean = false):void

Begins 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

AdPlacementInitializerCache
startInitializing()method 
public function startInitializing():void

Begins the initializing of the ad placement

Event Detail
adPlacementInitializationComplete Event
Event Object Type: com.adobe.mediacore.events.AdPlacementInitializerEvent

Dispatched when the initializing has completed successfully

adPlacementInitializationFail Event  
Event Object Type: com.adobe.mediacore.events.AdPlacementInitializerEvent

Dispatched if there was an error when trying to initialize the ad placement