Packagecv.events
Classpublic class MetaDataEvent
InheritanceMetaDataEvent Inheritance flash.events.Event

The MetaDataEvent class defines events for the AudioManager and VideoManager. These events include the following:

See also

AudioManager
VideoManager


Public Properties
 PropertyDefined by
  data : Object
The reference to the metadata object.
MetaDataEvent
Public Methods
 MethodDefined by
  
MetaDataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)
Creates a new MetaDataEvent object with the specified parameters.
MetaDataEvent
  
clone():Event
Creates a copy of the MetaDataEvent object and sets the value of each parameter to match the original.
MetaDataEvent
  
toString():String
Returns a string that contains all the properties of the MetaDataEvent object.
MetaDataEvent
Public Constants
 ConstantDefined by
  AUDIO_METADATA : String = "audioMetadata"
[static] Defines the value of the type property of an audioMetadata event object.
MetaDataEvent
  VIDEO_METADATA : String = "videoMetadata"
[static] Defines the value of the type property of an videoMetadata event object.
MetaDataEvent
Property detail
dataproperty
public var data:Object

The reference to the metadata object.

Constructor detail
MetaDataEvent()constructor
public function MetaDataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, data:Object = null)

Creates a new MetaDataEvent object with the specified parameters.

Parameters
type:String — The event type; this value identifies the action that caused the event.
 
bubbles:Boolean (default = false) — Indicates whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Indicates whether the behavior associated with the event can be prevented.
 
data:Object (default = null) — The metadata object.
Method detail
clone()method
public override function clone():Event

Creates a copy of the MetaDataEvent object and sets the value of each parameter to match the original.

Returns
Event — A new MetaDataEvent object with parameter values that match those of the original.
toString()method 
public override function toString():String

Returns a string that contains all the properties of the MetaDataEvent object. The string is in the following format:

[MetaDataEvent type=value bubbles=value cancelable=value data=value]

Returns
String — A string representation of the MetaDataEvent object.
Constant detail
AUDIO_METADATAconstant
public static const AUDIO_METADATA:String = "audioMetadata"

Defines the value of the type property of an audioMetadata event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
dataThe metadata object.
currentTargetThe object that is actively processing the event object with an event listener.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.

See also

VIDEO_METADATAconstant 
public static const VIDEO_METADATA:String = "videoMetadata"

Defines the value of the type property of an videoMetadata event object.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
dataThe metadata object.
currentTargetThe object that is actively processing the event object with an event listener.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.

See also