Factory base class for creating and managing various components used in
advertising workflow.
public function ContentFactory()
Default constructor.
protected function doRetrieveAdPolicySelector(item:MediaPlayerItem):AdPolicySelector
Actual content factory implementations need to overwrite this method and
provide the ad policy selector.
Parameters
Returns protected function doRetrieveGenerators(item:MediaPlayerItem):Vector.<OpportunityGenerator>
Actual content factory implementations need to overwrite this method and
provide the vector of opportunity generators.
Parameters
Returns | Vector.<OpportunityGenerator> — a vector containing the registered generators or an empty
vector if none was found.
|
protected function doRetrieveResolvers(item:MediaPlayerItem):Vector.<ContentResolver>
Actual content factory implementations need to overwrite this method and
provide the vector of content resolvers.
Parameters
Returns | Vector.<ContentResolver> — a vector containing the registered resolvers or an empty
vector if none was found.
|
public final function retrieveAdPolicySelector(item:MediaPlayerItem):AdPolicySelector
Returns the ad policy selector associated with the specified
media player item.
Parameters
Returns public final function retrieveGenerators(item:MediaPlayerItem):Vector.<OpportunityGenerator>
Returns the opportunity generator associated with the specified
media player item.
Parameters
Returns | Vector.<OpportunityGenerator> — a vector containing the registered resolvers or an empty
vector if none was found.
|
public final function retrieveResolvers(item:MediaPlayerItem):Vector.<ContentResolver>
Returns the resolvers associated with the specified media player item.
Parameters
Returns | Vector.<ContentResolver> — a vector containing the registered resolvers or an empty
vector if none was found.
|
Fri Jun 20 2014, 11:19 AM -07:00