Package | cv.events |
Class | public class MetaDataEvent |
Inheritance | MetaDataEvent ![]() |
MetaDataEvent.METADATA
: dispatched when the player has recieved metadata.MetaDataEvent.BAND_WIDTH
: dispatched when using FMS.MetaDataEvent.CAPTION
: dispatched when using FMS.MetaDataEvent.CAPTION_INFO
: dispatched when using FMS.MetaDataEvent.CUE_POINT
: dispatched when the player has reached a cuepoint.MetaDataEvent.FC_SUBSCRIBE
: dispatched when using FMS.MetaDataEvent.IMAGE_DATA
: dispatched when using FMS.MetaDataEvent.LAST_SECOND
: dispatched when using FMS.MetaDataEvent.PLAY_STATUS
: dispatched when using FMS.MetaDataEvent.TEXT_DATA
: dispatched when using FMS.MetaDataEvent.RTMP_SAMPLE_ACCESS
: dispatched when using FMS.Property | Defined by | ||
---|---|---|---|
data : Object
The reference to the data object.
| MetaDataEvent |
Method | Defined by | ||
---|---|---|---|
MetaDataEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
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 | ||
---|---|---|---|
BAND_WIDTH : String = "bandwidth" [static]
| MetaDataEvent | ||
CAPTION : String = "caption" [static]
| MetaDataEvent | ||
CAPTION_INFO : String = "captionInfo" [static]
| MetaDataEvent | ||
CUE_POINT : String = "cuePoint" [static]
| MetaDataEvent | ||
FC_SUBSCRIBE : String = "fcSubscribe" [static]
| MetaDataEvent | ||
IMAGE_DATA : String = "imageData" [static]
| MetaDataEvent | ||
LAST_SECOND : String = "lastSecond" [static]
| MetaDataEvent | ||
METADATA : String = "metadata" [static]
Defines the value of the
type property of an audioMetadata
event object. | MetaDataEvent | ||
PLAY_STATUS : String = "playStatus" [static]
| MetaDataEvent | ||
RTMP_SAMPLE_ACCESS : String = "RTMPSampleAccess" [static]
| MetaDataEvent | ||
TEXT_DATA : String = "textData" [static]
| MetaDataEvent |
data | property |
public var data:Object
The reference to the data object.
MetaDataEvent | () | constructor |
public function MetaDataEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new MetaDataEvent object with the specified parameters.
Parameterstype:String — The event type; this value identifies the action that caused the event.
|
|
data:Object (default = null ) — Indicates whether the event can bubble up the display list hierarchy.
|
|
bubbles:Boolean (default = false ) — Indicates whether the behavior associated with the event can be
prevented.
|
|
cancelable:Boolean (default = false ) — The metadata object.
|
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.
ReturnsEvent — 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
]
String — A string representation of the MetaDataEvent object.
|
BAND_WIDTH | constant |
public static const BAND_WIDTH:String = "bandwidth"
CAPTION | constant |
public static const CAPTION:String = "caption"
CAPTION_INFO | constant |
public static const CAPTION_INFO:String = "captionInfo"
CUE_POINT | constant |
public static const CUE_POINT:String = "cuePoint"
FC_SUBSCRIBE | constant |
public static const FC_SUBSCRIBE:String = "fcSubscribe"
IMAGE_DATA | constant |
public static const IMAGE_DATA:String = "imageData"
LAST_SECOND | constant |
public static const LAST_SECOND:String = "lastSecond"
METADATA | constant |
public static const METADATA:String = "metadata"
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. |
PLAY_STATUS | constant |
public static const PLAY_STATUS:String = "playStatus"
RTMP_SAMPLE_ACCESS | constant |
public static const RTMP_SAMPLE_ACCESS:String = "RTMPSampleAccess"
TEXT_DATA | constant |
public static const TEXT_DATA:String = "textData"