org.red5.io.flv.meta
K
- key typeV
- value typepublic class MetaCue<K,V> extends HashMap<String,Object> implements IMetaCue
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.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MetaCue()
CuePoint constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode
public void setName(String name)
public String getName()
public void setType(String type)
public String getType()
public void setTime(double d)
public double getTime()
public int compareTo(Object arg0)
compareTo
in interface Comparable<Object>
public String toString()
toString
in class AbstractMap<String,Object>
Copyright © 2006-2012 The Red5 Project