Czas w sekundach, który upłynął od rozpoczęcia bieżącego klipu przerwy.
Ten element jest aktualizowany tylko sporadycznie, więc jego wartość jest często nieaktualna. Użyj metody getEstimatedBreakClipTime, aby oszacować rzeczywistą pozycję odtwarzania na podstawie ostatnich informacji zgłoszonych przez odbiornik.
currentBreakTime
(liczba lub wartość nieokreślona)
Czas w sekundach od rozpoczęcia bieżącej przerwy.
Ten element jest aktualizowany tylko sporadycznie, więc jego wartość jest często nieaktualna. Użyj metody getEstimatedBreakTime, aby oszacować rzeczywistą pozycję odtwarzania na podstawie ostatnich informacji zgłoszonych przez odbiornik.
whenSkippable
(liczba lub wartość nieokreślona)
Czas w sekundach, w którym klip z przerwą staje się możliwy do pominięcia. Wartość 5 oznacza, że użytkownik może pominąć klip z przerwą po 5 sekundach. Jeśli to pole nie jest zdefiniowane, oznacza to, że bieżącego klipu przerwy nie można pominąć.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eBreakStatus\u003c/code\u003e class represents the current status of a media break during a Cast session.\u003c/p\u003e\n"],["\u003cp\u003eIt provides information about the break and break clip IDs, elapsed time, and when the break is skippable.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecurrentBreakClipTime\u003c/code\u003e and \u003ccode\u003ecurrentBreakTime\u003c/code\u003e values are updated sporadically and often outdated, thus \u003ccode\u003egetEstimatedBreakClipTime\u003c/code\u003e and \u003ccode\u003egetEstimatedBreakTime\u003c/code\u003e are recommended for accurate playback position.\u003c/p\u003e\n"]]],["The `BreakStatus` class represents the current status of a break in media playback. It contains the `breakClipId` and `breakId`, identifying the current clip and break. `currentBreakClipTime` and `currentBreakTime` track elapsed time in seconds, but are updated sporadically. To get accurate timings, `getEstimatedBreakClipTime` and `getEstimatedBreakTime` should be used instead. `whenSkippable` indicates the time in seconds when the current break clip becomes skippable, if applicable.\n"],null,["# Class: BreakStatus\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).BreakStatus\n=================================================================================================================================\n\nclass static\n\nRepresents current status of break.\n\nConstructor\n-----------\n\n### BreakStatus\n\nnew\nBreakStatus()\n\nProperties\n----------\n\n### breakClipId\n\n(string or undefined)\n\nID of the current break clip.\n\n### breakId\n\n(string or undefined)\n\nID of the current break.\n\n### currentBreakClipTime\n\n(number or undefined)\n\nTime in seconds elapsed after the current break clip starts.\nThis member is only updated sporadically, so its value is often out of\ndate. Use the `getEstimatedBreakClipTime` method to get an estimate of\nthe real playback position based on the last information reported by the\nreceiver.\n\n### currentBreakTime\n\n(number or undefined)\n\nTime in seconds elapsed after the current break starts.\nThis member is only updated sporadically, so its value is often out of\ndate. Use the `getEstimatedBreakTime` method to get an estimate of the\nreal playback position based on the last information reported by the\nreceiver.\n\n### whenSkippable\n\n(number or undefined)\n\nThe time in seconds when this break clip becomes skippable. 5 means that\nthe end user can skip this break clip after 5 seconds. If this field is\nnot defined, it means that the current break clip is not skippable."]]