הזמן בשניות שחלפו לאחר התחלת קליפ ההפסקה הנוכחי.
החבר הזה מתעדכן רק באופן קבוע, כך שהערך שלו בדרך כלל לא עדכני. כדאי להשתמש בשיטה getEstimatedBreakClipTime כדי לקבל הערכה של
מיקום ההפעלה האמיתי על סמך המידע האחרון שדווח על ידי
המקבל.
currentBreakTime
(מספר או לא מוגדר)
הזמן בשניות שחלפו אחרי התחלת ההפסקה הנוכחית.
החבר הזה מתעדכן רק באופן קבוע, כך שהערך שלו בדרך כלל לא עדכני. אפשר להשתמש בשיטה getEstimatedBreakTime כדי לקבל הערכה של
מיקום ההפעלה האמיתי על סמך המידע האחרון שדווח על ידי
המקבל.
whenSkippable
(מספר או לא מוגדר)
הזמן בשניות שבו ניתן לדלג על קליפ ההפסקה הזה. 5 פירושו שמשתמש הקצה יכול לדלג על קליפ ההפסקה הזה אחרי 5 שניות. אם השדה הזה לא מוגדר, המשמעות היא שלא ניתן לדלג על קטע ההפסקה הנוכחי.
[null,null,["עדכון אחרון: 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."]]