Packagecom.adobe.mediacore.timeline.resolvers
Interfacepublic interface ContentResolverClient

Interface used by content resolvers generators to communicate with PSDK components.



Public Methods
 MethodDefined By
  
notifyCompleted(opportunity:Opportunity):void
Notifies PSDK that the specified opportunity was resolved successful.
ContentResolverClient
  
notifyFailed(opportunity:Opportunity, mediaError:MediaError):void
Notifies PSDK that the specified opportunity was not resolved.
ContentResolverClient
  
process(proposals:Vector.<TimelineOperation>):void
Instructs PSDK to process the specified proposals to the media player timeline.
ContentResolverClient
Method Detail
notifyCompleted()method
public function notifyCompleted(opportunity:Opportunity):void

Notifies PSDK that the specified opportunity was resolved successful. This doesn't mean that the resolving the specified opportunity has resulted in timeline operations.

Parameters

opportunity:Opportunity — The opportunity which completed successfully.

notifyFailed()method 
public function notifyFailed(opportunity:Opportunity, mediaError:MediaError):void

Notifies PSDK that the specified opportunity was not resolved. The error and any additional information are made available through the media error parameter.

Parameters

opportunity:Opportunity — The opportunity which failed to resolve.
 
mediaError:MediaError — Media error object describing the error which occurred.

process()method 
public function process(proposals:Vector.<TimelineOperation>):void

Instructs PSDK to process the specified proposals to the media player timeline.

Parameters

proposals:Vector.<TimelineOperation> — Timeline operations to be proposed.