מחלקה: SeekableRange
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eSeekableRange\u003c/code\u003e helps define the portion of media that can be sought (fast-forwarded or rewound).\u003c/p\u003e\n"],["\u003cp\u003eIt's initialized using \u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e values representing seconds in the media.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e properties store the beginning and ending points of the seekable range respectively, which can be retrieved later.\u003c/p\u003e\n"]]],["The `SeekableRange` class defines the range within a media stream that a user can navigate. It includes two key properties: `start` and `end`, representing the beginning and end of this seekable range in seconds. These are optional numbers and can be undefined. The class constructor, `SeekableRange`, takes `start` and `end` as its parameters to define the specific range.\n"],null,["# Class: SeekableRange\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).SeekableRange\n======================================================================================================================================================\n\nclass static\n\nProvides the seekable range in seconds.\n\nConstructor\n-----------\n\n### SeekableRange\n\nnew\nSeekableRange(start, end)\n\n| #### Parameter ||\n|-------|-----------------|\n| start | Optional number |\n| end | Optional number |\n\nProperties\n----------\n\n### end\n\n(number or undefined)\n\nThe end of the seekable range in seconds.\n\n### start\n\n(number or undefined)\n\nThe start of the seekable range in seconds."]]