Class: BreakSeekData

  • BreakSeekData provides information about seeking within media, including the start and end points of the seek and a list of breaks it covers.

  • It is constructed using seekFrom, seekTo, and an array of cast.framework.messages.Break objects representing the breaks within the seek range.

  • This class has properties like breaks, seekFrom, and seekTo which respectively offer access to the breaks involved, the seek's start time, and the target time of the seek.

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.