Package | com.adobe.mediacore.timeline.resolvers |
Class | public class ContentResolver |
Inheritance | ContentResolver ![]() |
Subclasses | AuditudeResolver, CustomAdResolver, MetadataResolver |
Property | Defined By | ||
---|---|---|---|
client : ContentResolverClient [read-only]
Returns the client associated with this content resolver. | ContentResolver | ||
context : MediaPlayerContext [read-only]
Returns the context associated with this content resolver. | ContentResolver |
Method | Defined By | ||
---|---|---|---|
Default constructor. | ContentResolver | ||
canResolve(opportunity:Opportunity):Boolean
Checks if the specified opportunity can be resolved by the current resolver. | ContentResolver | ||
Callback invoked by the PSDK every time the content resolver needs to be configured
or re-configured due to an item change. | ContentResolver | ||
resolve(opportunity:Opportunity):void
Resolves the opportunity according to the provided information. | ContentResolver |
Method | Defined By | ||
---|---|---|---|
doCanResolve(opportunity:Opportunity):Boolean
The actual implementation must override this method. | ContentResolver | ||
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. | ContentResolver | ||
doResolve(opportunity:Opportunity):void
The actual implementation must override this method. | ContentResolver |
client | property |
client:ContentResolverClient
[read-only] Returns the client associated with this content resolver. The content resolver client is associated through configure method.
public function get client():ContentResolverClient
context | property |
context:MediaPlayerContext
[read-only] Returns the context associated with this content resolver. The content resolver context is associated through configure method.
public function get context():MediaPlayerContext
ContentResolver | () | Constructor |
public function ContentResolver()
Default constructor.
canResolve | () | method |
public final function canResolve(opportunity:Opportunity):Boolean
Checks 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
|
configure | () | method |
public final function configure(item:MediaPlayerItem, context:MediaPlayerContext, client:ContentResolverClient):void
Callback invoked by the PSDK every time the content resolver needs to be configured or re-configured due to an item change.
Parameters
item:MediaPlayerItem — Media player item associated with the resolver.
| |
context:MediaPlayerContext — Media player context associated with the resolver.
| |
client:ContentResolverClient — Content resolver client associated with the resolver.
|
doCanResolve | () | method |
protected function doCanResolve(opportunity:Opportunity):Boolean
The actual implementation must override this method.
Parameters
opportunity:Opportunity — the opportunity to be checked.
|
Boolean — true if the opportunity can be resolved by this resolver, false otherwise
|
doConfigure | () | method |
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 |
protected function doResolve(opportunity:Opportunity):void
The actual implementation must override this method.
Parameters
opportunity:Opportunity — information needed in resolving process.
|
resolve | () | method |
public final function resolve(opportunity:Opportunity):void
Resolves the opportunity according to the provided information.
Parameters
opportunity:Opportunity — information needed in resolving process.
|