Packagecom.adobe.mediacore.timeline.advertising
Classpublic class AuditudeResolver
InheritanceAuditudeResolver Inheritance ContentResolver Inheritance Object
Implements com.adobe.mediacore.timeline.advertising.AuditudeRequestHelperClient
Subclasses AuditudeAdResolver

Default content resolver for communicating with the Auditude services.



Public Properties
 PropertyDefined By
 Inheritedclient : ContentResolverClient
[read-only] Returns the client associated with this content resolver.
ContentResolver
 Inheritedcontext : MediaPlayerContext
[read-only] Returns the context associated with this content resolver.
ContentResolver
Public Methods
 MethodDefined By
  
Default constructor.
AuditudeResolver
 Inherited
canResolve(opportunity:Opportunity):Boolean
Checks if the specified opportunity can be resolved by the current resolver.
ContentResolver
 Inherited
Callback invoked by the PSDK every time the content resolver needs to be configured or re-configured due to an item change.
ContentResolver
  
notifyCompleted(request:AuditudeRequest, proposals:Vector.<TimelineOperation>):void
Notifies PSDK that the specified request was resolved successful.
AuditudeResolver
  
notifyFailed(request:AuditudeRequest, mediaError:MediaError):void
Notifies PSDK that the specified request was not resolved.
AuditudeResolver
 Inherited
resolve(opportunity:Opportunity):void
Resolves the opportunity according to the provided information.
ContentResolver
Protected Methods
 MethodDefined By
  
doCanResolve(opportunity:Opportunity):Boolean
[override] The actual implementation must override this method.
AuditudeResolver
  
[override] Actual content resolvers should override this method if they need to do some configuration based on the specified media player item.
AuditudeResolver
  
doResolve(opportunity:Opportunity):void
[override] The actual implementation must override this method.
AuditudeResolver
Constructor Detail
AuditudeResolver()Constructor
public function AuditudeResolver()

Default constructor.

Method Detail
doCanResolve()method
override protected function doCanResolve(opportunity:Opportunity):Boolean

The actual implementation must override this method.

Parameters

opportunity:Opportunity — the opportunity to be checked.

Returns
Boolean — true if the opportunity can be resolved by this resolver, false otherwise
doConfigure()method 
override protected function doConfigure(item:MediaPlayerItem):void

Actual content resolvers should override this method if they need to do some configuration based on the specified media player item.

Parameters

item:MediaPlayerItem — Media player item which is associated with this content resolver.

doResolve()method 
override protected function doResolve(opportunity:Opportunity):void

The actual implementation must override this method.

Parameters

opportunity:Opportunity — information needed in resolving process.

notifyCompleted()method 
public function notifyCompleted(request:AuditudeRequest, proposals:Vector.<TimelineOperation>):void

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

Parameters

request:AuditudeRequest — The request which completed successfully.
 
proposals:Vector.<TimelineOperation> — The proposals which were extracted from the auditude response.

notifyFailed()method 
public function notifyFailed(request:AuditudeRequest, mediaError:MediaError):void

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

Parameters

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