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\u003eBreakSeekData\u003c/code\u003e provides information about seeking within media, including the start and end points of the seek and a list of breaks it covers.\u003c/p\u003e\n"],["\u003cp\u003eIt is constructed using \u003ccode\u003eseekFrom\u003c/code\u003e, \u003ccode\u003eseekTo\u003c/code\u003e, and an array of \u003ccode\u003ecast.framework.messages.Break\u003c/code\u003e objects representing the breaks within the seek range.\u003c/p\u003e\n"],["\u003cp\u003eThis class has properties like \u003ccode\u003ebreaks\u003c/code\u003e, \u003ccode\u003eseekFrom\u003c/code\u003e, and \u003ccode\u003eseekTo\u003c/code\u003e which respectively offer access to the breaks involved, the seek's start time, and the target time of the seek.\u003c/p\u003e\n"]]],[],null,["# Class: BreakSeekData\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[breaks](/cast/docs/reference/web_receiver/cast.framework.breaks).BreakSeekData\n==================================================================================================================================================\n\nclass static\n\nProvide seek information, including list of breaks that are seeked over.\n\nConstructor\n-----------\n\n### BreakSeekData\n\nnew\nBreakSeekData(seekFrom, seekTo, breaks)\n\n| #### Parameter ||\n|----------|--------------------------------------------------------------------------------------------------------------------------------------------|\n| seekFrom | number |\n| seekTo | number |\n| breaks | Array of non-null [cast.framework.messages.Break](/cast/docs/reference/web_receiver/cast.framework.messages.Break) Value must not be null. |\n\nProperties\n----------\n\n### breaks\n\nnon-null Array of non-null [cast.framework.messages.Break](/cast/docs/reference/web_receiver/cast.framework.messages.Break)\n\nList of breaks.\n\n### seekFrom\n\nnumber\n\nCurrent playback time.\n\n### seekTo\n\nnumber\n\nThe time to seek to."]]