| Package | com.adobe.mediacore.timeline |
| Class | public class ContentResolver |
| Inheritance | ContentResolver flash.events.EventDispatcher |
| Subclasses | AuditudeAdResolver, MetadataAdResolver |
| Method | Defined By | ||
|---|---|---|---|
Constructor. | ContentResolver | ||
canResolve(opportunity:Opportunity):Boolean
Checks if the specified opportunity can be resolved by the
current resolver. | ContentResolver | ||
cleanup():void
Performs a cleanup of the content resolver, cleaning any configurations
performed in config
| ContentResolver | ||
config(config:Configuration):void
Configures the ContentResolver with any information needed from
the MediaPlayerItem
| ContentResolver | ||
resolve(opportunity:Opportunity):void
Resolves the ads according to the provided information
| ContentResolver | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the content resolution has completed successfully. | ContentResolver | |||
| Dispatched when an error has occurred during resolving process. | ContentResolver | |||
| ContentResolver | () | Constructor |
public function ContentResolver()Constructor.
| canResolve | () | method |
public final function canResolve(opportunity:Opportunity):BooleanChecks if the specified opportunity can be resolved by the current resolver.
Parameters
opportunity:Opportunity — opportunity to be checked
|
Boolean — true if the opportunity can be resolved by this resolver, false
otherwise
|
| cleanup | () | method |
public final function cleanup():voidPerforms a cleanup of the content resolver, cleaning any configurations performed in config
| config | () | method |
public final function config(config:Configuration):voidConfigures the ContentResolver with any information needed from the MediaPlayerItem
Parameters
config:Configuration — - the MediaPlayerItem currently in use
|
| resolve | () | method |
public final function resolve(opportunity:Opportunity):voidResolves the ads according to the provided information
Parameters
opportunity:Opportunity — information needed in resolving process.
|
| resolvingCompleted | Event |
com.adobe.mediacore.events.ContentResolverEventDispatched when the content resolution has completed successfully.
| resolvingFailed | Event |
com.adobe.mediacore.events.ContentErrorEventDispatched when an error has occurred during resolving process.