Packagecom.adobe.mediacore.timeline
Classpublic class Opportunity
InheritanceOpportunity Inheritance Object

Base class for all opportunity classes. An opportunity represents an "interesting" point on the timeline. Is a location where we can alter the timeline by inserting a series of ads or where we must switch to an alternate stream or where some edits might happen. While the stream contains various metadata, only a couple of them can be considered opportunities. Also an opportunity can be created based on out-of-band information and not necessarily from the stream information.



Public Properties
 PropertyDefined By
  customParams : Metadata
[read-only]
Opportunity
  id : String
[read-only] com.adobe.mediacore.timeline.Opportunity identifier.
Opportunity
  placement : Placement
[read-only] com.adobe.mediacore.timeline.Opportunity placement on the timeline.
Opportunity
  settings : Metadata
[read-only]
Opportunity
Public Methods
 MethodDefined By
  
Opportunity(id:String, placement:Placement, settings:Metadata, customParams:Metadata)
Default constructor.
Opportunity
Property Detail
customParamsproperty
customParams:Metadata  [read-only]


Implementation
    public function get customParams():Metadata
idproperty 
id:String  [read-only]

com.adobe.mediacore.timeline.Opportunity identifier.


Implementation
    public function get id():String
placementproperty 
placement:Placement  [read-only]

com.adobe.mediacore.timeline.Opportunity placement on the timeline.


Implementation
    public function get placement():Placement
settingsproperty 
settings:Metadata  [read-only]


Implementation
    public function get settings():Metadata
Constructor Detail
Opportunity()Constructor
public function Opportunity(id:String, placement:Placement, settings:Metadata, customParams:Metadata)

Default constructor.

Parameters
id:String — opportunity identifier.
 
placement:Placement — placement on the timeline.
 
settings:Metadata — metadata used for resolving and/or tracking.
 
customParams:Metadata — metadata used for customizing resolving and/or tracking process.