Package | com.akamai.events |
Class | public class MediaInspectorEvent |
Inheritance | MediaInspectorEvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
data : Object [read-only]
The contents of the object returned depend on
the media type inspected. | MediaInspectorEvent | ||
mediaType : String [read-only]
The media type resulting from a successful inspection. | MediaInspectorEvent |
Method | Defined By | ||
---|---|---|---|
MediaInspectorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mediaType:String = null, data:Object = null)
Constructor. | MediaInspectorEvent |
Constant | Defined By | ||
---|---|---|---|
COMPLETE : String = complete [static]
The MediaInspector.COMPLETE constant defines the value
of the type property of the event object for a complete
event. | MediaInspectorEvent | ||
ERROR : String = error [static]
The MediaInspector.ERROR constant defines the value
of the type property of the event object for an error
event. | MediaInspectorEvent | ||
TIMEOUT : String = timeout [static]
The MediaInspector.TIMEOUT constant defines the value
of the type property of the event object for a timeout
event. | MediaInspectorEvent |
data | property |
data:Object
[read-only] The contents of the object returned depend on the media type inspected. See the individual inspector classes for details on what this object can contain.
public function get data():Object
mediaType | property |
mediaType:String
[read-only] The media type resulting from a successful inspection. The value should be one of the constant values defined in the MediaType class.
public function get mediaType():String
See also
MediaInspectorEvent | () | Constructor |
public function MediaInspectorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mediaType:String = null, data:Object = null)
Constructor.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
| |
mediaType:String (default = null )
| |
data:Object (default = null )
|
COMPLETE | Constant |
public static const COMPLETE:String = complete
The MediaInspector.COMPLETE constant defines the value of the type property of the event object for a complete event.
ERROR | Constant |
public static const ERROR:String = error
The MediaInspector.ERROR constant defines the value of the type property of the event object for an error event.
TIMEOUT | Constant |
public static const TIMEOUT:String = timeout
The MediaInspector.TIMEOUT constant defines the value of the type property of the event object for a timeout event.