| Package | com.akamai.osmf.events |
| Class | public class AkamaiMediaResourceResolverEvent |
| Inheritance | AkamaiMediaResourceResolverEvent flash.events.Event |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
AkamaiMediaResourceResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, resource:MediaResourceBase = null, errorMsg:String = null)
Constructor. | AkamaiMediaResourceResolverEvent | ||
| Constant | Defined 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 | ||
| errorMessage | property |
errorMessage:String [read-only] Returns the error message, if any, from the event.
public function get errorMessage():String| resource | property |
resource:MediaResourceBase [read-only] Returns the modified resource from the event.
public function get resource():MediaResourceBase| AkamaiMediaResourceResolverEvent | () | Constructor |
public function AkamaiMediaResourceResolverEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, resource:MediaResourceBase = null, errorMsg:String = null)Constructor.
Parameterstype: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.
|
| RESOLVE_RESOURCE_COMPLETE | Constant |
public static const RESOLVE_RESOURCE_COMPLETE:String = completeThe AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_COMPLETE constant defines the value of the type property of the event object for a complete event.
| RESOLVE_RESOURCE_ERROR | Constant |
public static const RESOLVE_RESOURCE_ERROR:String = errorThe AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_ERROR constant defines the value of the type property of the event object for an error event.
| RESOLVE_RESOURCE_TIMEOUT | Constant |
public static const RESOLVE_RESOURCE_TIMEOUT:String = timeoutThe AkamaiMediaResourceResolverEvent.RESOLVE_RESOURCE_TIMEOUT constant defines the value of the type property of the event object for a timeout event.