Constructor

Break

new Break(id, breakClipIds, position)

Parameter

id

string

Unique id of break.

breakClipIds

Array of string

List of ids break clip that this break includes.

Value must not be null.

position

number

Position of this break inside main video.

Properties

breakClipIds

non-null Array of string

List of ids of break clip that this break includes.

duration

(number or undefined)

Duration of break in sec.

id

string

Unique id of break.

isEmbedded

(boolean or undefined)

If true, indicates this is embedded break in main stream.

isWatched

boolean

Whether break is watched. Sender can change color of progress bar marker corresponding to this break once this field changes from false to true, denoting that the end-user already watched this break.

position

number

Where the break is located inside main video. -1 represents the end of main video.