Skip to content

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.

new CuePoint(time, action): CuePoint

Defined in: core/source/cuepoint.ts:10

number

string

CuePoint

static CUT: string = 's'

Defined in: core/source/cuepoint.ts:69


static PAUSE: string = 'p'

Defined in: core/source/cuepoint.ts:67


static RESUME: string = 'r'

Defined in: core/source/cuepoint.ts:68

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.

string


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.

number


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.

string

void


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.

number

void


toString(): string

Defined in: core/source/cuepoint.ts:15

string


static _fromString(value): CuePoint

Defined in: core/source/cuepoint.ts:62

string

CuePoint