| Package | com.adobe.mediacore.events |
| Class | public final class TimedMetadataEvent |
| Inheritance | TimedMetadataEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| timedMetadata : TimedMetadata [read-only]
The timed metadata associated with this event. | TimedMetadataEvent | ||
| Method | Defined By | ||
|---|---|---|---|
TimedMetadataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timedMetadata:TimedMetadata = null)
Default constructor. | TimedMetadataEvent | ||
clone():Event [override]
| TimedMetadataEvent | ||
[static]
Factory method for creating a TIMED_METADATA_ID3_ADDED event. | TimedMetadataEvent | ||
[static]
Factory method for creating a NO_OPPORTUNITY_DETECTED event. | TimedMetadataEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| TIMED_METADATA_ID3_ADDED : String = timed-metadata-id3-added [static]
Event dispatched when an ID3 timed metadata was processed. | TimedMetadataEvent | ||
| TIMED_METADATA_SKIPPED : String = timed-metadata-skipped [static]
Event dispatched when a timed metadata was processed and no opportunity was detected. | TimedMetadataEvent | ||
| timedMetadata | property |
timedMetadata:TimedMetadata [read-only] The timed metadata associated with this event.
public function get timedMetadata():TimedMetadata| TimedMetadataEvent | () | Constructor |
public function TimedMetadataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timedMetadata:TimedMetadata = null)Default constructor.
Parameterstype:String — Event type.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
timedMetadata:TimedMetadata (default = null) — The actual placement on the timeline.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| createAddedID3Event | () | method |
public static function createAddedID3Event(timedMetadata:TimedMetadata):TimedMetadataEventFactory method for creating a TIMED_METADATA_ID3_ADDED event.
Parameters
timedMetadata:TimedMetadata — The timed metadata processed.
|
TimedMetadataEvent — a valid TimedMetadataEvent
|
| createSkipped | () | method |
public static function createSkipped(timedMetadata:TimedMetadata):TimedMetadataEventFactory method for creating a NO_OPPORTUNITY_DETECTED event.
Parameters
timedMetadata:TimedMetadata — The timed metadata processed.
|
TimedMetadataEvent — a valid TimedMetadataEvent
|
| TIMED_METADATA_ID3_ADDED | Constant |
public static const TIMED_METADATA_ID3_ADDED:String = timed-metadata-id3-addedEvent dispatched when an ID3 timed metadata was processed.
| TIMED_METADATA_SKIPPED | Constant |
public static const TIMED_METADATA_SKIPPED:String = timed-metadata-skippedEvent dispatched when a timed metadata was processed and no opportunity was detected.