| Package | cv.events |
| Class | public class MetaDataEvent |
| Inheritance | MetaDataEvent flash.events.Event |
MetaDataEvent.AUDIO_METADATA: dispatched when the AudioManager has recieved metadata.MetaDataEvent.VIDEO_METADATA: dispatched when the VideoManager has recieved metadata.See also
| Property | Defined by | ||
|---|---|---|---|
| data : Object
The reference to the metadata object.
| MetaDataEvent | ||
| Method | Defined 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 | ||
| Constant | Defined 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 | ||
| data | property |
public var data:ObjectThe reference to the metadata object.
| 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.
Parameterstype: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.
|
| clone | () | method |
public override function clone():EventCreates a copy of the MetaDataEvent object and sets the value of each parameter to match the original.
ReturnsEvent — A new MetaDataEvent object with parameter values that match those of the original.
|
| toString | () | method |
public override function toString():StringReturns 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]
String — A string representation of the MetaDataEvent object.
|
| AUDIO_METADATA | constant |
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:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is
no default behavior to cancel. |
data | The metadata object. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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_METADATA | constant |
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:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false; there is
no default behavior to cancel. |
data | The metadata object. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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