Package | com.adobe.mediacore.events |
Class | public final class VideoEngineErrorEvent |
Inheritance | VideoEngineErrorEvent ![]() |
Property | Defined By | ||
---|---|---|---|
error : MediaError [read-only]
Returns the error associated with this event. | VideoEngineErrorEvent |
Method | Defined By | ||
---|---|---|---|
VideoEngineErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, error:MediaError = null)
Default constructor. | VideoEngineErrorEvent | ||
clone():Event [override]
| VideoEngineErrorEvent | ||
[static]
Factory method for this event. | VideoEngineErrorEvent |
Constant | Defined By | ||
---|---|---|---|
ERROR : String = videoEngineError [static]
Dispatched when an irrecoverable error occurred and the playback
no longer continues. | VideoEngineErrorEvent |
error | property |
error:MediaError
[read-only] Returns the error associated with this event.
public function get error():MediaError
VideoEngineErrorEvent | () | Constructor |
public function VideoEngineErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, error:MediaError = 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.
| |
error:MediaError (default = null ) — The error which occurred ( valid only for error/warning related events).
|
clone | () | method |
override public function clone():Event
Returns
Event |
create | () | method |
public static function create(error:MediaError):VideoEngineErrorEvent
Factory method for this event.
Parameters
error:MediaError — the error associated with this event
|
VideoEngineErrorEvent — a valid VideoEngineErrorEvent instance
|
ERROR | Constant |
public static const ERROR:String = videoEngineError
Dispatched when an irrecoverable error occurred and the playback no longer continues.