Packagecom.akamai.osmf.events
Classpublic class AkamaiMediaResourceResolverEvent
InheritanceAkamaiMediaResourceResolverEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  errorMessage : String
[read-only] Returns the error message, if any, from the event.
AkamaiMediaResourceResolverEvent
  resource : MediaResourceBase
[read-only] Returns the modified resource from the event.
AkamaiMediaResourceResolverEvent
Public Methods
 MethodDefined By
  
AkamaiMediaResourceResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, resource:MediaResourceBase = null, errorMsg:String = null)
Constructor.
AkamaiMediaResourceResolverEvent
Public Constants
 ConstantDefined By
  RESOLVE_RESOURCE_COMPLETE : String = complete
[static] The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_COMPLETE constant defines the value of the type property of the event object for a complete event.
AkamaiMediaResourceResolverEvent
  RESOLVE_RESOURCE_ERROR : String = error
[static] The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_ERROR constant defines the value of the type property of the event object for an error event.
AkamaiMediaResourceResolverEvent
  RESOLVE_RESOURCE_TIMEOUT : String = timeout
[static] The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_TIMEOUT constant defines the value of the type property of the event object for a timeout event.
AkamaiMediaResourceResolverEvent
Property Detail
errorMessageproperty
errorMessage:String  [read-only]

Returns the error message, if any, from the event.


Implementation
    public function get errorMessage():String
resourceproperty 
resource:MediaResourceBase  [read-only]

Returns the modified resource from the event.


Implementation
    public function get resource():MediaResourceBase
Constructor Detail
AkamaiMediaResourceResolverEvent()Constructor
public function AkamaiMediaResourceResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, resource:MediaResourceBase = null, errorMsg:String = null)

Constructor.

Parameters
type:String — The type of the event.
 
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.
 
resource:MediaResourceBase (default = null) — The modified resource representing the media.
 
errorMsg:String (default = null) — Optional error message string.
Constant Detail
RESOLVE_RESOURCE_COMPLETEConstant
public static const RESOLVE_RESOURCE_COMPLETE:String = complete

The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_COMPLETE constant defines the value of the type property of the event object for a complete event.

RESOLVE_RESOURCE_ERRORConstant 
public static const RESOLVE_RESOURCE_ERROR:String = error

The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_ERROR constant defines the value of the type property of the event object for an error event.

RESOLVE_RESOURCE_TIMEOUTConstant 
public static const RESOLVE_RESOURCE_TIMEOUT:String = timeout

The AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_TIMEOUT constant defines the value of the type property of the event object for a timeout event.