Packagecom.adobe.mediacore.events
Classpublic class AdResolverEvent
InheritanceAdResolverEvent Inheritance flash.events.Event

Event that is dispatched when an AdResolve successfully fills avails passed to placeAds() with ad placements.

See also

com.adobe.mediacore.adresolver.IAdResolver


Public Properties
 PropertyDefined By
  adPlacements : Vector.<AdPlacement>
[read-only] Returns a list of the ad placements.
AdResolverEvent
  avails : Vector.<AvailInfo>
[read-only] Returns the initial list of the avails to resolve.
AdResolverEvent
  unResolved : Vector.<AvailInfo>
[read-only] Returns the list of avails which received no placement.
AdResolverEvent
Public Methods
 MethodDefined By
  
AdResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, avails:Vector.<AvailInfo> = null, adPlacements:Vector.<AdPlacement> = null, unResolved:Vector.<AvailInfo> = null)
Constructor.
AdResolverEvent
  
clone():Event
[override]
AdResolverEvent
Public Constants
 ConstantDefined By
  AD_RESOLVER_COMPLETE : String = adResolverComplete
[static] Ad resolving is completed.
AdResolverEvent
  AD_RESOLVER_FAIL : String = adResolverFail
[static] The Ad request failed.
AdResolverEvent
Property Detail
adPlacementsproperty
adPlacements:Vector.<AdPlacement>  [read-only]

Returns a list of the ad placements.


Implementation
    public function get adPlacements():Vector.<AdPlacement>
availsproperty 
avails:Vector.<AvailInfo>  [read-only]

Returns the initial list of the avails to resolve.


Implementation
    public function get avails():Vector.<AvailInfo>
unResolvedproperty 
unResolved:Vector.<AvailInfo>  [read-only]

Returns the list of avails which received no placement.


Implementation
    public function get unResolved():Vector.<AvailInfo>
Constructor Detail
AdResolverEvent()Constructor
public function AdResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, avails:Vector.<AvailInfo> = null, adPlacements:Vector.<AdPlacement> = null, unResolved:Vector.<AvailInfo> = null)

Constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
avails:Vector.<AvailInfo> (default = null)
 
adPlacements:Vector.<AdPlacement> (default = null)
 
unResolved:Vector.<AvailInfo> (default = null)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
AD_RESOLVER_COMPLETEConstant
public static const AD_RESOLVER_COMPLETE:String = adResolverComplete

Ad resolving is completed.

AD_RESOLVER_FAILConstant 
public static const AD_RESOLVER_FAIL:String = adResolverFail

The Ad request failed.