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.
customParams:MetadataNode
[read-only]
Implementation public function get customParams():MetadataNode
id:String
[read-only]
Opportunity identifier.
Implementation public function get id():String
placement:Placement
[read-only]
Opportunity placement on the timeline.
Implementation public function get placement():Placement
settings:MetadataNode
[read-only]
Implementation public function get settings():MetadataNode
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.
|
Wed Apr 2 2014, 06:27 PM +03:00