public class CuePoint extends MetadataObject implements java.lang.Comparable<CuePoint>
Modifier and Type | Class and Description |
---|---|
static class |
CuePoint.PositionType |
properties, TAG
Constructor and Description |
---|
CuePoint(CuePoint.PositionType positionType,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.Object> properties)
Used to create a before or after cue point.
|
CuePoint(int position,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.Object> properties)
Used to create a point in time cue point.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CuePoint cuePoint) |
boolean |
equals(java.lang.Object object) |
int |
getPosition() |
CuePoint.PositionType |
getPositionType() |
java.lang.String |
getType() |
java.lang.String |
toString() |
getIntegerProperty, getIntegerProperty, getProperties, getStringProperty, getStringProperty
public CuePoint(CuePoint.PositionType positionType, java.lang.String type, java.util.Map<java.lang.String,java.lang.Object> properties)
positionType
- Either Before or After.type
- The type of the cue point, for example: "ad", "bumper", or "code".properties
- The properties describing this cue point.public CuePoint(int position, java.lang.String type, java.util.Map<java.lang.String,java.lang.Object> properties)
position
- The offset from the beginning of the video in milliseconds.type
- The type of the cue point, for example: "ad", "bumper", or "code".properties
- The properties describing this cue point.public CuePoint.PositionType getPositionType()
public int getPosition()
public java.lang.String getType()
public int compareTo(CuePoint cuePoint)
compareTo
in interface java.lang.Comparable<CuePoint>
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class MetadataObject