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 : MetadataNode
[read-only]
Opportunity
  id : String
[read-only] Opportunity identifier.
Opportunity
  placement : Placement
[read-only] Opportunity placement on the timeline.
Opportunity
  settings : MetadataNode
[read-only]
Opportunity
Public Methods
 MethodDefined By
  
Opportunity(id:String, placement:Placement, settings:MetadataNode, customParams:MetadataNode)
Default constructor.
Opportunity
Property Detail
customParamsproperty
customParams:MetadataNode  [read-only]


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

Opportunity identifier.


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

Opportunity placement on the timeline.


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


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

Default constructor.

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