Class: BreakSeekData

  • BreakSeekData provides information about seeking, including the list of breaks that are skipped over.

  • The constructor requires seekFrom, seekTo, and an array of breaks.

  • The breaks property is a list of cast.framework.messages.Break objects.

  • The seekFrom property represents the current playback time.

  • The seekTo property represents the target time to seek to.

Constructor

BreakSeekData

new BreakSeekData(seekFrom, seekTo, breaks)

Parameter

seekFrom

number

seekTo

number

breaks

Array of non-null cast.framework.messages.Break

Value must not be null.

Properties

breaks

non-null Array of non-null cast.framework.messages.Break

List of breaks.

seekFrom

number

Current playback time.

seekTo

number

The time to seek to.