|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.mediacore.metadata.TimedMetadata
public final class TimedMetadata
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).
| Nested Class Summary | |
|---|---|
static class |
TimedMetadata.Type
|
| Constructor Summary | |
|---|---|
TimedMetadata(TimedMetadata.Type type,
long time,
long id,
String name,
Metadata metadata)
Default constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(TimedMetadata timedMetadata)
|
boolean |
equals(Object other)
|
long |
getId()
Returns the ID extracted from the cue attributes if present. |
Metadata |
getMetadata()
The metadata inserted into the stream. |
String |
getName()
|
long |
getTime()
The time position, relative to the start of the main content, where this metadata was inserted into the stream. |
TimedMetadata.Type |
getType()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimedMetadata(TimedMetadata.Type type,
long time,
long id,
String name,
Metadata metadata)
type - the TimedMetadata typetime - local stream timeid - the unique idname - the name of the cue (usually the HLS tag name)metadata - object containing key-value pairs, associated with the TimedMetadata| Method Detail |
|---|
public long getTime()
public Metadata getMetadata()
public TimedMetadata.Type getType()
public long getId()
public String getName()
public int compareTo(TimedMetadata timedMetadata)
compareTo in interface Comparable<TimedMetadata>public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||