Packagecom.adobe.mediacore.metadata
Classpublic final class TimedMetadata
InheritanceTimedMetadata Inheritance Object

Raw representation of the timed metadata inserted into a media stream. Custom packagers can add additional metadata to an existing stream to signal the presence of special media sections ( ad placement opportunities, black-outs etc).



Public Properties
 PropertyDefined By
  metadata : ByteArrayMetadata
[read-only] The metadata inserted into the stream.
TimedMetadata
  time : Number
[read-only] The time position where this metadata was inserted into the stream.
TimedMetadata
Public Methods
 MethodDefined By
  
TimedMetadata(time:Number, metadata:ByteArrayMetadata)
Default constructor.
TimedMetadata
  
compareTo(timedMetadata:TimedMetadata):int
Comparison method between two timed metadata used for sorting purposes.
TimedMetadata
  
toString():String
TimedMetadata
Property Detail
metadataproperty
metadata:ByteArrayMetadata  [read-only]

The metadata inserted into the stream.


Implementation
    public function get metadata():ByteArrayMetadata
timeproperty 
time:Number  [read-only]

The time position where this metadata was inserted into the stream.


Implementation
    public function get time():Number
Constructor Detail
TimedMetadata()Constructor
public function TimedMetadata(time:Number, metadata:ByteArrayMetadata)

Default constructor.

Parameters
time:Number — local stream time where this
 
metadata:ByteArrayMetadata
Method Detail
compareTo()method
public function compareTo(timedMetadata:TimedMetadata):int

Comparison method between two timed metadata used for sorting purposes.

Parameters

timedMetadata:TimedMetadata — the timed metadata object used for comparing

Returns
int — -1 if the current metadata is placed earlier in the stream, 0 if both metadata are placed at the same time in stream and 1 if the current metadata is placed later in the stream.
toString()method 
public function toString():String

Returns
String