Packagecom.adobe.mediacore.events
Classpublic class FragmentDownloadInfoEvent
InheritanceFragmentDownloadInfoEvent Inheritance flash.events.Event

A FragmentDownloadInfoEvent is dispatched each time a fragment is successfuly downloaded.



Public Properties
 PropertyDefined By
  downloadDuration : Number
[read-only] The total duration for fragment download, in seconds.
FragmentDownloadInfoEvent
  downloadLatency : Number
[read-only] The network latency, in seconds.
FragmentDownloadInfoEvent
  fragmentSize : Number
[read-only] The size of the downloaded fragment, in bytes.
FragmentDownloadInfoEvent
  fragmentUrl : String
[read-only] The url pointing to the downloaded fragment.
FragmentDownloadInfoEvent
Public Methods
 MethodDefined By
  
FragmentDownloadInfoEvent(type:String, bubbles:Boolean, cancelable:Boolean, fragmentUrl:String, fragmentSize:Number, downloadLatency:Number, downloadDuration:Number)
Constructor.
FragmentDownloadInfoEvent
  
clone():Event
[override]
FragmentDownloadInfoEvent
Public Constants
 ConstantDefined By
  FRAGMENT_DOWNLOAD_INFO : String = fragmentDownloadInfo
[static] The FragmentDownloadEvent.FRAGMENT_DOWNLOAD_INFO constant defines the value of the type property of the event object for a fragmentDownloadInfo event.
FragmentDownloadInfoEvent
Property Detail
downloadDurationproperty
downloadDuration:Number  [read-only]

The total duration for fragment download, in seconds.


Implementation
    public function get downloadDuration():Number
downloadLatencyproperty 
downloadLatency:Number  [read-only]

The network latency, in seconds.


Implementation
    public function get downloadLatency():Number
fragmentSizeproperty 
fragmentSize:Number  [read-only]

The size of the downloaded fragment, in bytes.


Implementation
    public function get fragmentSize():Number
fragmentUrlproperty 
fragmentUrl:String  [read-only]

The url pointing to the downloaded fragment.


Implementation
    public function get fragmentUrl():String
Constructor Detail
FragmentDownloadInfoEvent()Constructor
public function FragmentDownloadInfoEvent(type:String, bubbles:Boolean, cancelable:Boolean, fragmentUrl:String, fragmentSize:Number, downloadLatency:Number, downloadDuration:Number)

Constructor.

Parameters
type:String — Event type.
 
bubbles:Boolean — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean — Specifies whether the behavior associated with the event can be prevented.
 
fragmentUrl:String — The url pointing to the downloaded fragment.
 
fragmentSize:Number — The size of the downloaded fragment.
 
downloadLatency:Number — The latency during the performed download operation.
 
downloadDuration:Number — The total time duration needed to download the fragment.
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
FRAGMENT_DOWNLOAD_INFOConstant
public static const FRAGMENT_DOWNLOAD_INFO:String = fragmentDownloadInfo

The FragmentDownloadEvent.FRAGMENT_DOWNLOAD_INFO constant defines the value of the type property of the event object for a fragmentDownloadInfo event.