AI-generated Key Takeaways
-
BreakStatus class represents the current status of a break in media playback.
-
It provides properties like
breakClipId
,breakId
,currentBreakClipTime
,currentBreakTime
, andwhenSkippable
. -
currentBreakClipTime
andcurrentBreakTime
are updated sporadically and an estimated time can be obtained using dedicated methods. -
whenSkippable
indicates the time in seconds when a break clip can be skipped.
chrome.cast.media. BreakStatus
Represents current status of break.
Constructor
BreakStatus
new BreakStatus()
Properties
breakClipId
(string or undefined)
ID of the current break clip.
breakId
(string or undefined)
ID of the current break.
currentBreakClipTime
(number or undefined)
Time in seconds elapsed after the current break clip starts.
This member is only updated sporadically, so its value is often out of
date. Use the getEstimatedBreakClipTime
method to get an estimate of
the real playback position based on the last information reported by the
receiver.
currentBreakTime
(number or undefined)
Time in seconds elapsed after the current break starts.
This member is only updated sporadically, so its value is often out of
date. Use the getEstimatedBreakTime
method to get an estimate of the
real playback position based on the last information reported by the
receiver.
whenSkippable
(number or undefined)
The time in seconds when this break clip becomes skippable. 5 means that the end user can skip this break clip after 5 seconds. If this field is not defined, it means that the current break clip is not skippable.