यह मुख्य वीडियो में दिखाए गए ब्रेक (जैसे, विज्ञापन के लिए ब्रेक) के बारे में बताता है.
निर्माता
ब्रेक
नया
ब्रेक(id, breakClipIds, पोज़िशन)
पैरामीटर
id
स्ट्रिंग
ब्रेक का यूनीक आईडी.
breakClipIds
स्ट्रिंग का कलेक्शन
इस ब्रेक में शामिल ब्रेक क्लिप आईडी
की सूची.
वैल्यू शून्य नहीं होनी चाहिए.
जगह
नंबर
मुख्य वीडियो में इस ब्रेक की जगह.
प्रॉपर्टी
breakClipIds
स्ट्रिंग की नॉन-शून्य रेंज
इस ब्रेक में शामिल ब्रेक क्लिप आईडी की सूची.
कुल समय
(संख्या या तय नहीं है)
सेकंड में ब्रेक की अवधि.
id
स्ट्रिंग
ब्रेक का यूनीक आईडी.
isEmbedded
(बूलियन या तय नहीं)
इससे पता चलता है कि ब्रेक मुख्य स्ट्रीम में एम्बेड है या नहीं.
isWatched
boolean
क्या ब्रेक देखा गया था. ब्रेक शुरू होने पर, इसे 'सही' के तौर पर
मार्क किया जाता है. जब यह फ़ील्ड 'गलत' से 'सही' में बदल जाता है, तो ईमेल भेजने वाला व्यक्ति इस ब्रेक के हिसाब से प्रोग्रेस बार मार्कर का रंग बदल सकता है. इससे पता चलता है कि
असली उपयोगकर्ता ने पहले ही इस ब्रेक को देख लिया है.
जगह
नंबर
मुख्य वीडियो में ब्रेक की जगह. -1 मुख्य वीडियो के खत्म होने को सेकंड में दिखाता है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003echrome.cast.media.Break\u003c/code\u003e class represents an ad break or similar interruption within a main video stream.\u003c/p\u003e\n"],["\u003cp\u003eBreaks are identified by a unique ID and contain a list of break clip IDs, along with their position in the main video.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of a Break include its duration, whether it's embedded within the stream, and if it has been watched by the user.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eBreak\u003c/code\u003e object to manage and track breaks within their Cast-enabled applications.\u003c/p\u003e\n"]]],["The `Break` class represents a video break, such as an ad break, within a main video. It requires an `id`, a list of `breakClipIds`, and a `position`. Key properties include `breakClipIds` (list of clip IDs), `duration` (break length), `id` (unique identifier), `isEmbedded` (embedded status), `isWatched` (watched status, toggled when playback starts), and `position` (location within the video, -1 for the end). The constructor `Break` is used to instantiate breaks, given the id, breakClipIds, and position.\n"],null,[]]