מספק את הטווח הזמין בזמן אמת עם זמני התחלה וסיום בשניות.
יצרן
LiveSeekableRange
new
LiveSeekableRange(start, end, isTransitionWindow, isLiveDone)
פרמטר
התחלה
אופציונלי
מספר
סיום
אופציונלי
מספר
isMovingWindow
אופציונלי
boolean
isLiveDone
אופציונלי
boolean
תכונות
isLiveDone
(בוליאני או לא מוגדר)
true מציין ששידור חי הסתיים.
אם כן, טווח החיפוש הפעיל אמור להפסיק להתעדכן.
isMovingWindow
(בוליאני או לא מוגדר)
ערך בוליאני מציין אם הטווח הניתן לחיפוש הפעיל הוא חלון
נע. אם הערך הוא false, הטווח של ההרצה בשידור חי הוא טווח מתרחב
או טווח קבוע, שמציין שהשידור החי הסתיים.
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eLiveSeekableRange\u003c/code\u003e provides the seekable range of a live stream with start and end times in seconds.\u003c/p\u003e\n"],["\u003cp\u003eIt indicates whether the live stream has ended (\u003ccode\u003eisLiveDone\u003c/code\u003e) and if the seekable range is a moving window (\u003ccode\u003eisMovingWindow\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe constructor allows setting the start, end, \u003ccode\u003eisMovingWindow\u003c/code\u003e, and \u003ccode\u003eisLiveDone\u003c/code\u003e properties.\u003c/p\u003e\n"]]],[],null,["# Class: LiveSeekableRange\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).LiveSeekableRange\n==========================================================================================================================================================\n\nclass static\n\nProvides the live seekable range with start and end time in seconds.\n\nConstructor\n-----------\n\n### LiveSeekableRange\n\nnew\nLiveSeekableRange(start, end, isMovingWindow, isLiveDone)\n\n| #### Parameter ||\n|----------------|------------------|\n| start | Optional number |\n| end | Optional number |\n| isMovingWindow | Optional boolean |\n| isLiveDone | Optional boolean |\n\nProperties\n----------\n\n### isLiveDone\n\n(boolean or undefined)\n\n`true` indicates that a live stream has ended.\n\nIf it is done, the live seekable range should stop updating.\n\n### isMovingWindow\n\n(boolean or undefined)\n\nA boolean value indicates whether the live seekable range is a moving\nwindow. If `false`, the live seekable range is either an expanding range\nor a fixed range, indicating that a live stream has ended."]]