| Package | com.adobe.mediacore.metadata |
| Class | public final class TimedMetadata |
| Inheritance | TimedMetadata Object |
| Property | Defined By | ||
|---|---|---|---|
| content : String [read-only]
The raw content of the source tag of this timed metadata. | TimedMetadata | ||
| id : String [read-only]
The identifier of this timed metadata. | TimedMetadata | ||
| metadata : Metadata [read-only]
The extracted information from the source tag. | TimedMetadata | ||
| name : String [read-only]
The name of the source tag of this timed metadata. | 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 timed metadata. | TimedMetadata | ||
| Method | Defined By | ||
|---|---|---|---|
TimedMetadata(type:String, time:Number, id:String, name:String, content:String, metadata:Metadata)
Default constructor. | TimedMetadata | ||
compareTo(timedMetadata:TimedMetadata):int
Comparison method between two timed metadata used for
sorting purposes. | TimedMetadata | ||
[static] | TimedMetadata | ||
toString():String
Returns a string representation of the timed metadata. | TimedMetadata | ||
| Constant | Defined By | ||
|---|---|---|---|
| ASCENDING_SORT_FUNCTION : Function [static]
Sort function which can be used by any timed metadata collection
which want to sort its content in ascending order. | TimedMetadata | ||
| content | property |
content:String [read-only] The raw content of the source tag of this timed metadata.
public function get content():String| id | property |
id:String [read-only] The identifier of this timed metadata.
public function get id():String| metadata | property |
metadata:Metadata [read-only] The extracted information from the source tag.
public function get metadata():Metadata| name | property |
name:String [read-only] The name of the source tag of this timed metadata.
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 timed metadata.
public function get type():String| TimedMetadata | () | Constructor |
public function TimedMetadata(type:String, time:Number, id:String, name:String, content:String, metadata:Metadata)Default constructor.
Parameterstype:String — Timed metadata type.
| |
time:Number — Timed metadata time.
| |
id:String — Timed metadata unique identifier.
| |
name:String — Tag name used to mark this timed metadata in the playlist. For ID3 tags,
this value will be "ID3".
| |
content:String — Timed metadata content. For ID3 tags, this value will represent the
serialized byte array.
| |
metadata:Metadata — Timed metadata processed information.
|
| compareTo | () | method |
public function compareTo(timedMetadata:TimedMetadata):intComparison 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.
|
| createID3 | () | method |
public static function createID3(time:Number, metadataID3:Metadata):TimedMetadataParameters
time:Number | |
metadataID3:Metadata |
TimedMetadata |
| toString | () | method |
public function toString():StringReturns a string representation of the timed metadata.
ReturnsString — a string containing the raw timed metadata information.
|
| ASCENDING_SORT_FUNCTION | Constant |
public static const ASCENDING_SORT_FUNCTION:FunctionSort function which can be used by any timed metadata collection which want to sort its content in ascending order.