CuePoint
Defined in: core/source/cuepoint.ts:6
A CuePoint represents a configurable object for sources that
support cue points. Check getCuePoints() and other related methods of
#core/ISourcePlayback#getCuePoints getCuePoints.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CuePoint(
time,action):CuePoint
Defined in: core/source/cuepoint.ts:10
Parameters
Section titled “Parameters”number
action
Section titled “action”string
Returns
Section titled “Returns”CuePoint
Properties
Section titled “Properties”
staticCUT:string='s'
Defined in: core/source/cuepoint.ts:69
staticPAUSE:string='p'
Defined in: core/source/cuepoint.ts:67
RESUME
Section titled “RESUME”
staticRESUME:string='r'
Defined in: core/source/cuepoint.ts:68
Methods
Section titled “Methods”getAction()
Section titled “getAction()”getAction():
string
Defined in: core/source/cuepoint.ts:58
return: string
Gets the action to be performed on the cue point, which may be any of the following: CuePoint.PAUSE, CuePoint.RESUME, CuePoint.CUT.
Returns
Section titled “Returns”string
getTime()
Section titled “getTime()”getTime():
number
Defined in: core/source/cuepoint.ts:48
return: number
Gets the time in seconds corresponding to this cue point, with precision up to 100ns.
Returns
Section titled “Returns”number
setAction()
Section titled “setAction()”setAction(
action):void
Defined in: core/source/cuepoint.ts:34
param: string
Sets the action to be performed on the cue point. Choose any of the following values: CuePoint.PAUSE, CuePoint.RESUME, CuePoint.CUT.
Parameters
Section titled “Parameters”action
Section titled “action”string
Returns
Section titled “Returns”void
setTime()
Section titled “setTime()”setTime(
time):void
Defined in: core/source/cuepoint.ts:24
param: number
Sets this cue point’s time in seconds, with precision up to 100ns.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
toString()
Section titled “toString()”toString():
string
Defined in: core/source/cuepoint.ts:15
Returns
Section titled “Returns”string
_fromString()
Section titled “_fromString()”
static_fromString(value):CuePoint
Defined in: core/source/cuepoint.ts:62
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”CuePoint