Package | com.adobe.mediacore.metadata |
Class | public final class TimedMetadata |
Inheritance | TimedMetadata ![]() |
Property | Defined By | ||
---|---|---|---|
id : String [read-only]
The metadata id. | TimedMetadata | ||
metadata : Metadata [read-only]
The metadata inserted into the stream. | TimedMetadata | ||
name : String [read-only]
The name of the tag as it is present in the manifest file. | TimedMetadata | ||
time : Number [read-only]
The time position where this metadata was inserted into the stream. | TimedMetadata | ||
type : String [read-only]
The type of this TimedMetadata
| TimedMetadata |
Method | Defined By | ||
---|---|---|---|
TimedMetadata(id:String, type:String, time:Number, name:String, metadata:Metadata)
Default constructor. | TimedMetadata | ||
compareTo(timedMetadata:TimedMetadata):int
Comparison method between two timed metadata used for
sorting purposes. | TimedMetadata |
Constant | Defined By | ||
---|---|---|---|
TAG : String = TAG [static]
Default TimedMetadata type
| TimedMetadata |
id | property |
id:String
[read-only] The metadata id. In the case of cues this is the cue id.
public function get id():String
metadata | property |
metadata:Metadata
[read-only] The metadata inserted into the stream.
public function get metadata():Metadata
name | property |
name:String
[read-only] The name of the tag as it is present in the manifest file. In the case of cues this will be "cue".
public function get name():String
time | property |
time:Number
[read-only] The time position where this metadata was inserted into the stream.
public function get time():Number
type | property |
type:String
[read-only] The type of this TimedMetadata
public function get type():String
TimedMetadata | () | Constructor |
public function TimedMetadata(id:String, type:String, time:Number, name:String, metadata:Metadata)
Default constructor.
Parametersid:String — The metadata id. In the case of cues this is the cue id.
| |
type:String — The type of this TimedMetadata
| |
time:Number — The time position where this metadata was inserted into the stream (in milliseconds)
| |
name:String — The name of the tag as it is present in the manifest file. In the case of cues this will be "cue".
| |
metadata:Metadata — The metadata inserted into the stream.
|
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
|
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.
|
TAG | Constant |
public static const TAG:String = TAG
Default TimedMetadata type