Packagecom.adobe.mediacore
Classpublic class DefaultContentFactory
InheritanceDefaultContentFactory Inheritance ContentFactory Inheritance Object

Default implementation of MediaPlayerClient factory providing support both for Metadata and Auditude ad resolving process.



Public Methods
 MethodDefined By
 Inherited
Returns the ad policy selector associated with the specified media player item.
ContentFactory
 Inherited
Returns the opportunity generator associated with the specified media player item.
ContentFactory
 Inherited
Returns the resolvers associated with the specified media player item.
ContentFactory
Protected Methods
 MethodDefined By
  
[override] Actual content factory implementations need to overwrite this method and provide the ad policy selector.
DefaultContentFactory
  
[override] Actual content factory implementations need to overwrite this method and provide the vector of opportunity generators.
DefaultContentFactory
  
[override] Actual content factory implementations need to overwrite this method and provide the vector of content resolvers.
DefaultContentFactory
Method Detail
doRetrieveAdPolicySelector()method
override protected function doRetrieveAdPolicySelector(item:MediaPlayerItem):AdPolicySelector

Actual content factory implementations need to overwrite this method and provide the ad policy selector.

Parameters

item:MediaPlayerItem — media player item

Returns
AdPolicySelector — an AdPolicySelector instance.
doRetrieveGenerators()method 
override protected function doRetrieveGenerators(item:MediaPlayerItem):Vector.<OpportunityGenerator>

Actual content factory implementations need to overwrite this method and provide the vector of opportunity generators.

Parameters

item:MediaPlayerItem — media player item

Returns
Vector.<OpportunityGenerator> — a vector containing the registered generators or an empty vector if none was found.
doRetrieveResolvers()method 
override protected function doRetrieveResolvers(item:MediaPlayerItem):Vector.<ContentResolver>

Actual content factory implementations need to overwrite this method and provide the vector of content resolvers.

Parameters

item:MediaPlayerItem — media player item

Returns
Vector.<ContentResolver> — a vector containing the registered resolvers or an empty vector if none was found.