Package | com.adobe.mediacore.events |
Class | public final class VideoEngineTimelineEvent |
Inheritance | VideoEngineTimelineEvent ![]() |
Property | Defined By | ||
---|---|---|---|
placement : TimelineOperation [read-only]
The ad break successfully placement associated with this event. | VideoEngineTimelineEvent | ||
proposal : TimelineOperation [read-only]
The ad break proposal associated with this event. | VideoEngineTimelineEvent |
Method | Defined By | ||
---|---|---|---|
VideoEngineTimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, proposal:TimelineOperation = null, placement:TimelineOperation = null)
Default constructor. | VideoEngineTimelineEvent | ||
clone():Event [override]
| VideoEngineTimelineEvent | ||
[static]
Factory method for creating a PLACEMENT_COMPLETED event. | VideoEngineTimelineEvent | ||
[static]
Factory method for creating a PLACEMENT_FAILED event. | VideoEngineTimelineEvent |
Constant | Defined By | ||
---|---|---|---|
OPERATION_COMPLETED : String = placementCompleted [static]
Event dispatched when an ad break proposal was successfully placed on the video timeline. | VideoEngineTimelineEvent | ||
OPERATION_FAILED : String = placementFailed [static]
Event dispatched when an error occurred while trying to place an ad break proposal on the video timeline. | VideoEngineTimelineEvent |
placement | property |
placement:TimelineOperation
[read-only] The ad break successfully placement associated with this event.
public function get placement():TimelineOperation
proposal | property |
proposal:TimelineOperation
[read-only] The ad break proposal associated with this event.
public function get proposal():TimelineOperation
VideoEngineTimelineEvent | () | Constructor |
public function VideoEngineTimelineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, proposal:TimelineOperation = null, placement:TimelineOperation = null)
Default constructor.
Parameterstype:String — Event type.
| |
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event can be prevented.
| |
proposal:TimelineOperation (default = null ) — The proposal for this timeline placement operation.
| |
placement:TimelineOperation (default = null ) — The actual placement on the timeline.
|
clone | () | method |
override public function clone():Event
Returns
Event |
createCompleted | () | method |
public static function createCompleted(proposal:TimelineOperation, placement:TimelineOperation):VideoEngineTimelineEvent
Factory method for creating a PLACEMENT_COMPLETED event.
Parameters
proposal:TimelineOperation — The proposal for this timeline placement operation.
| |
placement:TimelineOperation — The actual placement on the timeline.
|
VideoEngineTimelineEvent — a valid VideoEngineTimelineEvent
|
createFailed | () | method |
public static function createFailed(proposal:TimelineOperation):VideoEngineTimelineEvent
Factory method for creating a PLACEMENT_FAILED event.
Parameters
proposal:TimelineOperation — The proposal for this timeline placement operation.
|
VideoEngineTimelineEvent — a valid VideoEngineTimelineEvent
|
OPERATION_COMPLETED | Constant |
public static const OPERATION_COMPLETED:String = placementCompleted
Event dispatched when an ad break proposal was successfully placed on the video timeline.
OPERATION_FAILED | Constant |
public static const OPERATION_FAILED:String = placementFailed
Event dispatched when an error occurred while trying to place an ad break proposal on the video timeline.