Packagecom.akamai.hd
Classpublic class HDEvent
InheritanceHDEvent Inheritance flash.events.Event



Public Properties
 PropertyDefined By
  data : Object
[read-only] Returns the data for the event, which can differ based on the event type.
HDEvent
Public Methods
 MethodDefined By
  
HDEvent(type:String, data:Object = null)
Constructor.
HDEvent
Public Constants
 ConstantDefined By
  ARCHIVE_PLAYBACK_DISABLED : String = archiveplaybackdisabled
[static]
HDEvent
  BANDWIDTH : String = bandwidth
[static]
HDEvent
  BANDWIDTH_ESTIMATION_COMPLETE : String = bandwidthEstimationComplete
[static]
HDEvent
  COMPLETE : String = complete
[static]
HDEvent
  CPU : String = cpu
[static]
HDEvent
  DATA_MESSAGE : String = datamessage
[static]
HDEvent
  DEAD_CONNECTION : String = deadconnection
[static]
HDEvent
  DEBUG : String = debug
[static]
HDEvent
  DVR_WINDOW : String = dvrwindow
[static]
HDEvent
  DVR_WINDOW_CLOSED : String = dvrwindowclosed
[static]
HDEvent
  ERROR : String = error
[static]
HDEvent
  FAIL_OVER_TO_RTMP : String = failovertortmp
[static]
HDEvent
  FAILURE : String = failure
[static]
HDEvent
  IS_BUFFERING : String = isbuffering
[static]
HDEvent
  IS_LIVE_STREAM : String = islivestream
[static]
HDEvent
  IS_PLAYING_LIVE : String = isplayinglive
[static]
HDEvent
  LOOP : String = loop
[static]
HDEvent
  METADATA : String = metadata
[static]
HDEvent
  NETSESSION_CLIENT : String = netsessionclient
[static]
HDEvent
  NETSESSION_EULA : String = netsessioneula
[static]
HDEvent
  NET_STATUS : String = netstatus
[static]
HDEvent
  PARSED : String = parsed
[static]
HDEvent
  PAUSE : String = pause
[static]
HDEvent
  PLAY : String = play
[static]
HDEvent
  PROGRESS : String = progress
[static]
HDEvent
  REBUFFER : String = rebuffer
[static]
HDEvent
  REJECTED : String = rejected
[static]
HDEvent
  RENDITION_CHANGE : String = renditionchange
[static]
HDEvent
  RESUME : String = resume
[static]
HDEvent
  RTT : String = rtt
[static]
HDEvent
  SEEK : String = seek
[static]
HDEvent
  SESSION_ID : String = sessionid
[static]
HDEvent
  STREAM_NAME_CHANGE : String = streamnamechange
[static]
HDEvent
  STREAM_NOT_FOUND : String = streamnotfound
[static]
HDEvent
  STREAM_NOT_FOUND_WHILE_PLAYING : String = streamnotfoundwhileplaying
[static]
HDEvent
  STREAM_START_TIME : String = streamstarttime
[static]
HDEvent
  STREAM_TYPE_CHANGE : String = streamtypechange
[static]
HDEvent
  SUCCESS : String = success
[static]
HDEvent
  SWITCH_COMPLETE : String = switchcomplete
[static]
HDEvent
  SWITCH_FAILURE : String = switchfailure
[static]
HDEvent
  SWITCH_START : String = switchstart
[static]
HDEvent
  TAT : String = tat
[static]
HDEvent
  THUMBNAIL_READY : String = thumbnailready
[static]
HDEvent
  TIMEOUT : String = timeout
[static]
HDEvent
Property Detail
dataproperty
data:Object  [read-only]

Returns the data for the event, which can differ based on the event type. See the event constants in this class for a description of the data object for each event type.


Implementation
    public function get data():Object
Constructor Detail
HDEvent()Constructor
public function HDEvent(type:String, data:Object = null)

Constructor.

Parameters
type:String — One of the event type constants defined in this class.
 
data:Object (default = null) — Corresponding data for the event. This can differ depending on the event type. See the event type definitions in this class.
Constant Detail
ARCHIVE_PLAYBACK_DISABLEDConstant
public static const ARCHIVE_PLAYBACK_DISABLED:String = archiveplaybackdisabled

BANDWIDTHConstant 
public static const BANDWIDTH:String = bandwidth

BANDWIDTH_ESTIMATION_COMPLETEConstant 
public static const BANDWIDTH_ESTIMATION_COMPLETE:String = bandwidthEstimationComplete

COMPLETEConstant 
public static const COMPLETE:String = complete

CPUConstant 
public static const CPU:String = cpu

DATA_MESSAGEConstant 
public static const DATA_MESSAGE:String = datamessage

DEAD_CONNECTIONConstant 
public static const DEAD_CONNECTION:String = deadconnection

DEBUGConstant 
public static const DEBUG:String = debug

DVR_WINDOWConstant 
public static const DVR_WINDOW:String = dvrwindow

DVR_WINDOW_CLOSEDConstant 
public static const DVR_WINDOW_CLOSED:String = dvrwindowclosed

ERRORConstant 
public static const ERROR:String = error

FAIL_OVER_TO_RTMPConstant 
public static const FAIL_OVER_TO_RTMP:String = failovertortmp

FAILUREConstant 
public static const FAILURE:String = failure

IS_BUFFERINGConstant 
public static const IS_BUFFERING:String = isbuffering

IS_LIVE_STREAMConstant 
public static const IS_LIVE_STREAM:String = islivestream

IS_PLAYING_LIVEConstant 
public static const IS_PLAYING_LIVE:String = isplayinglive

LOOPConstant 
public static const LOOP:String = loop

METADATAConstant 
public static const METADATA:String = metadata

NET_STATUSConstant 
public static const NET_STATUS:String = netstatus

NETSESSION_CLIENTConstant 
public static const NETSESSION_CLIENT:String = netsessionclient

NETSESSION_EULAConstant 
public static const NETSESSION_EULA:String = netsessioneula

PARSEDConstant 
public static const PARSED:String = parsed

PAUSEConstant 
public static const PAUSE:String = pause

PLAYConstant 
public static const PLAY:String = play

PROGRESSConstant 
public static const PROGRESS:String = progress

REBUFFERConstant 
public static const REBUFFER:String = rebuffer

REJECTEDConstant 
public static const REJECTED:String = rejected

RENDITION_CHANGEConstant 
public static const RENDITION_CHANGE:String = renditionchange

RESUMEConstant 
public static const RESUME:String = resume

RTTConstant 
public static const RTT:String = rtt

SEEKConstant 
public static const SEEK:String = seek

SESSION_IDConstant 
public static const SESSION_ID:String = sessionid

STREAM_NAME_CHANGEConstant 
public static const STREAM_NAME_CHANGE:String = streamnamechange

STREAM_NOT_FOUNDConstant 
public static const STREAM_NOT_FOUND:String = streamnotfound

STREAM_NOT_FOUND_WHILE_PLAYINGConstant 
public static const STREAM_NOT_FOUND_WHILE_PLAYING:String = streamnotfoundwhileplaying

STREAM_START_TIMEConstant 
public static const STREAM_START_TIME:String = streamstarttime

STREAM_TYPE_CHANGEConstant 
public static const STREAM_TYPE_CHANGE:String = streamtypechange

SUCCESSConstant 
public static const SUCCESS:String = success

SWITCH_COMPLETEConstant 
public static const SWITCH_COMPLETE:String = switchcomplete

SWITCH_FAILUREConstant 
public static const SWITCH_FAILURE:String = switchfailure

SWITCH_STARTConstant 
public static const SWITCH_START:String = switchstart

TATConstant 
public static const TAT:String = tat

THUMBNAIL_READYConstant 
public static const THUMBNAIL_READY:String = thumbnailready

TIMEOUTConstant 
public static const TIMEOUT:String = timeout