| 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 | ||
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
|
| 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.