Packagecom.akamai.events
Classpublic class MediaInspectorEvent
InheritanceMediaInspectorEvent Inheritance flash.events.Event

A MediaInspectorEvent is dispatched by an Inspector class when the class has finished it's asynchronous inspection successfully or has encountered an error, or has timed out.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
MediaInspectorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mediaType:String = null, data:Object = null)
Constructor.
MediaInspectorEvent
Public Constants
 ConstantDefined 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
Property Detail
dataproperty
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.


Implementation
    public function get data():Object
mediaTypeproperty 
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.


Implementation
    public function get mediaType():String

See also

Constructor Detail
MediaInspectorEvent()Constructor
public function MediaInspectorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, mediaType:String = null, data:Object = null)

Constructor.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
 
mediaType:String (default = null)
 
data:Object (default = null)
Constant Detail
COMPLETEConstant
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.

ERRORConstant 
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.

TIMEOUTConstant 
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.