Package | com.adobe.mediacore.timeline.advertising |
Class | public class CustomAdResolver |
Inheritance | CustomAdResolver ![]() ![]() |
Method | Defined By | ||
---|---|---|---|
Default constructor. | CustomAdResolver | ||
![]() | 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 | |
getNextTimelineId():int [static]
Returns the next Ad identifier. | CustomAdResolver | ||
![]() | resolve(opportunity:Opportunity):void
Resolves the opportunity according to the provided information. | ContentResolver |
Method | Defined By | ||
---|---|---|---|
doCanResolve(opportunity:Opportunity):Boolean [override]
The actual implementation must override this method. | CustomAdResolver | ||
doConfigure(item:MediaPlayerItem):void [override]
Actual content resolvers should override this method if they need to
do some configuration based on the specified media player item. | CustomAdResolver | ||
doResolve(opportunity:Opportunity):void [override]
The actual implementation must override this method. | CustomAdResolver |
CustomAdResolver | () | Constructor |
public function CustomAdResolver()
Default constructor.
doCanResolve | () | method |
override 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 |
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.
|
getNextTimelineId | () | method |
public static function getNextTimelineId():int
Returns the next Ad identifier.
Returnsint — a valid identifier
|