Fin de la plage pouvant faire l'objet d'une recherche, en secondes.
start
(nombre ou non défini)
Début de la plage pouvant faire l'objet d'une recherche, en secondes.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/25 (UTC).
[null,null,["Dernière mise à jour le 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."]]