|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.red5.io.flv.meta.MetaCue<K,V>
K
- key typeV
- value typepublic class MetaCue<K,V>
Cue point is metadata marker used to control and accompany video playback with client-side application events. Each cue point have at least one attribute, timestamp. Timestamp specifies position of cue point in FLV file.
Cue points are usually used as event triggers down video flow or navigation points in a file. Cue points are of two types:
To add cue point trigger event listener at client-side in Flex/Flash application, use NetStream.onCuePoint event handler.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
MetaCue()
CuePoint constructor |
Method Summary | |
---|---|
int |
compareTo(Object arg0)
|
String |
getName()
Gets the name |
double |
getTime()
Gets the time |
String |
getType()
Gets the type |
void |
setName(String name)
Sets the name |
void |
setTime(double d)
Sets the time |
void |
setType(String type)
Sets the type type can be "event" or "navigation" |
String |
toString()
|
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public MetaCue()
Method Detail |
---|
public void setName(String name)
setName
in interface IMetaCue
name
- Cue point namepublic String getName()
getName
in interface IMetaCue
public void setType(String type)
setType
in interface IMetaCue
type
- Cue point typepublic String getType()
getType
in interface IMetaCue
public void setTime(double d)
setTime
in interface IMetaCue
d
- Timestamppublic double getTime()
getTime
in interface IMetaCue
public int compareTo(Object arg0)
compareTo
in interface Comparable<Object>
public String toString()
toString
in class AbstractMap<String,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |