-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public class DAICuePoint extends CuePoint
-
-
Field Summary
Fields Modifier and Type Field Description private final double
duration
private final long
startPosition
private final long
endPosition
private boolean
isPlayed
-
Constructor Summary
Constructors Constructor Description DAICuePoint(CuePoint.PositionType positionType, CuePoint.CuePointType type, Map<String, Object> properties, double duration, long startPosition, long endPosition, boolean isPlayed)
DAICuePoint(long position, CuePoint.CuePointType type, Map<String, Object> properties, double duration, long startPosition, long endPosition, boolean isPlayed)
-
Method Summary
Modifier and Type Method Description double
getDuration()
Returns the duration of the cue point. long
getStartPosition()
Returns the absolute position where the cue point starts. long
getEndPosition()
Returns the absolute position where the cue point ends. boolean
isPlayed()
Returns if the cue point was already played void
setIsPlayed(boolean played)
Sets the state of played or not played long
getPositionLong()
String
toString()
-
Methods inherited from class com.brightcove.player.model.CuePoint
compareTo, equals, getCuePointType, getPosition, getPositionLong, getPositionType, getType, hashCode, toString
-
Methods inherited from class com.brightcove.player.model.MetadataObject
getIntegerProperty, getLongProperty, getProperties, getStringProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDuration
double getDuration()
Returns the duration of the cue point.
-
getStartPosition
long getStartPosition()
Returns the absolute position where the cue point starts.
-
getEndPosition
long getEndPosition()
Returns the absolute position where the cue point ends.
-
isPlayed
boolean isPlayed()
Returns if the cue point was already played
-
setIsPlayed
@RestrictTo(value = RestrictTo.Scope.LIBRARY) void setIsPlayed(boolean played)
Sets the state of played or not played
-
getPositionLong
long getPositionLong()
-
-
-
-