Packagecom.adobe.mediacore.events
Classpublic final class TimedMetadataEvent
InheritanceTimedMetadataEvent Inheritance flash.events.Event

Event dispatched by the opportunity detector when a timed metadata is processed.



Public Properties
 PropertyDefined By
  timedMetadata : TimedMetadata
[read-only] The timed metadata associated with this event.
TimedMetadataEvent
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property Detail
timedMetadataproperty
timedMetadata:TimedMetadata  [read-only]

The timed metadata associated with this event.


Implementation
    public function get timedMetadata():TimedMetadata
Constructor Detail
TimedMetadataEvent()Constructor
public function TimedMetadataEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, timedMetadata:TimedMetadata = null)

Default constructor.

Parameters
type: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.
Method Detail
clone()method
override public function clone():Event

Returns
Event
createAddedID3Event()method 
public static function createAddedID3Event(timedMetadata:TimedMetadata):TimedMetadataEvent

Factory method for creating a TIMED_METADATA_ID3_ADDED event.

Parameters

timedMetadata:TimedMetadata — The timed metadata processed.

Returns
TimedMetadataEvent — a valid TimedMetadataEvent
createSkipped()method 
public static function createSkipped(timedMetadata:TimedMetadata):TimedMetadataEvent

Factory method for creating a NO_OPPORTUNITY_DETECTED event.

Parameters

timedMetadata:TimedMetadata — The timed metadata processed.

Returns
TimedMetadataEvent — a valid TimedMetadataEvent
Constant Detail
TIMED_METADATA_ID3_ADDEDConstant
public static const TIMED_METADATA_ID3_ADDED:String = timed-metadata-id3-added

Event dispatched when an ID3 timed metadata was processed.

TIMED_METADATA_SKIPPEDConstant 
public static const TIMED_METADATA_SKIPPED:String = timed-metadata-skipped

Event dispatched when a timed metadata was processed and no opportunity was detected.