| Package | com.adobe.mediacore.events |
| Class | public final class VideoEngineContentChangedEvent |
| Inheritance | VideoEngineContentChangedEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| newContentId : int [read-only]
The content id currently playing. | VideoEngineContentChangedEvent | ||
| oldContentId : int [read-only]
The content id that was previously playing. | VideoEngineContentChangedEvent | ||
| time : Number [read-only] | VideoEngineContentChangedEvent | ||
| Method | Defined By | ||
|---|---|---|---|
VideoEngineContentChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, newContentId:int = -1, oldContentId:int = -1, time:Number = 0)
Default constructor. | VideoEngineContentChangedEvent | ||
clone():Event [override]
| VideoEngineContentChangedEvent | ||
create(newContentId:int, oldContentId:int, time:Number):VideoEngineContentChangedEvent [static]
Factory method. | VideoEngineContentChangedEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CONTENT_CHANGED : String = contentChanged [static]
Event dispatched when the video engine change its status. | VideoEngineContentChangedEvent | ||
| newContentId | property |
newContentId:int [read-only] The content id currently playing.
public function get newContentId():int| oldContentId | property |
oldContentId:int [read-only] The content id that was previously playing.
public function get oldContentId():int| time | property |
time:Number [read-only] public function get time():Number| VideoEngineContentChangedEvent | () | Constructor |
public function VideoEngineContentChangedEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, newContentId:int = -1, oldContentId:int = -1, time:Number = 0)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.
| |
newContentId:int (default = -1) — Content identifier that is currently playing
| |
oldContentId:int (default = -1) — Content identifier that was previously playing
| |
time:Number (default = 0) — Time when the content changing has occurred.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| create | () | method |
public static function create(newContentId:int, oldContentId:int, time:Number):VideoEngineContentChangedEventFactory method.
Parameters
newContentId:int — Content identifier that is currently playing
| |
oldContentId:int — Content identifier that was previously playing
| |
time:Number — Time when the content changing has occurred.
|
VideoEngineContentChangedEvent — a valid VideoEngineContentChangedEvent instance
|
| CONTENT_CHANGED | Constant |
public static const CONTENT_CHANGED:String = contentChangedEvent dispatched when the video engine change its status.