इसमें ब्रेक की क्लिप दिखती है. उदाहरण के लिए, विज्ञापन के लिए ब्रेक के दौरान दिखने वाले विज्ञापन की क्लिप
निर्माता
BreakClip
नया
ब्रेकक्लिप(आईडी)
पैरामीटर
id
स्ट्रिंग
खास ब्रेक क्लिप आईडी.
प्रॉपर्टी
clickThroughUrl
(स्ट्रिंग या तय नहीं है)
भेजने वाले के पेज का यूआरएल तब दिखता है, जब असली उपयोगकर्ता, भेजने वाले के यूज़र इंटरफ़ेस (यूआई) पर मौजूद लिंक पर क्लिक करता है. ऐसा, रिसीवर पर यह क्लिप चलाने के दौरान होता है.
contentId
(स्ट्रिंग या तय नहीं है)
रिसीवर पर फ़िलहाल चल रहे कॉन्टेंट का आईडी. आम तौर पर, यह ब्रेक मीडिया का यूआरएल होता है.
contentType
(स्ट्रिंग या तय नहीं है)
कॉन्टेंट का MIME टाइप.
contentUrl
(स्ट्रिंग या तय नहीं है)
वैकल्पिक ब्रेक मीडिया यूआरएल, जो असली आईडी की जगह contentId का इस्तेमाल करने की अनुमति देता है. अगर contentUrl दिया गया है, तो उसे मीडिया के यूआरएल के तौर पर इस्तेमाल किया जाएगा. ऐसा न होने पर, contentId को मीडिया के यूआरएल के तौर पर इस्तेमाल किया जाएगा.
VAST विज्ञापन अनुरोध कॉन्फ़िगरेशन.
इसका इस्तेमाल तब किया जाता है, जब contentId या contentUrl न दिया गया हो.
ओवरफ़्लो से बचने के लिए, इस फ़ील्ड को MediaStatus मैसेज में शामिल नहीं किया गया है.
whenSkippable
(संख्या या तय नहीं है)
सेकंड में दिया गया वह समय जब इस ब्रेक क्लिप को स्किप किया जा सकता है. उदाहरण के लिए,
5 की वैल्यू का मतलब है कि उपयोगकर्ता पांच सेकंड के बाद इस ब्रेक क्लिप को स्किप
कर सकता है. अगर इस फ़ील्ड की वैल्यू नेगेटिव है या यह undefined है, तो इसका मतलब है कि मौजूदा ब्रेक क्लिप को स्किप नहीं किया जा सकता.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eBreakClip\u003c/code\u003e represents an individual ad or segment within an ad break during content playback on a Cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties for managing metadata like URLs, duration, content type, and custom data associated with the ad.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBreakClip\u003c/code\u003e supports various ad formats including standard media, VAST ads, and HLS, allowing flexibility in ad delivery.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can specify when the break clip is skippable by the user, enhancing user experience during ad breaks.\u003c/p\u003e\n"]]],["The `BreakClip` class represents a media clip, like an ad, within a break. Key properties include: `id` (unique identifier), `contentId`/`contentUrl` (media source), `contentType` (MIME type), `duration` (clip length), `posterUrl` (display image), and `title` (display text). `clickThroughUrl` specifies a URL for sender UI interaction. `vastAdsRequest` handles ad requests if direct content isn't provided. `whenSkippable` defines the skip time. HLS segment format settings are available for HLS content.\n"],null,["# Class: BreakClip\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).BreakClip\n==================================================================================================================================================\n\nclass static\n\nRepresents a break clip (for example, a clip of an ad during an ad break)\n\nConstructor\n-----------\n\n### BreakClip\n\nnew\nBreakClip(id)\n\n| #### Parameter ||\n|----|----------------------------------|\n| id | string The unique break clip ID. |\n\nProperties\n----------\n\n### clickThroughUrl\n\n(string or undefined)\n\nThe URL of the page that the sender displays when the end user clicks\nthe link on the sender UI during playback of this clip on the receiver.\n\n### contentId\n\n(string or undefined)\n\nThe ID of the content currently playing on the receiver. Typically, this\nis the URL of the break media.\n\n### contentType\n\n(string or undefined)\n\nThe content MIME type.\n\n### contentUrl\n\n(string or undefined)\n\nThe optional break media URL, which allows the use of `contentId` in\nplace of the real ID. If `contentUrl` is provided, it is used as the\nmedia URL, otherwise the `contentId` is used as the media URL.\n\n### customData\n\n(non-null Object or undefined)\n\nThe application-specific break clip data.\n\n### duration\n\n(number or undefined)\n\nThe break clip duration, in seconds.\n\n### hlsSegmentFormat\n\n(non-null [cast.framework.messages.HlsSegmentFormat](/cast/docs/reference/web_receiver/cast.framework.messages#.HlsSegmentFormat) or undefined)\n\nThe format of the HLS media segment. Only required for HLS content\nplayback using MPL.\n\n### hlsVideoSegmentFormat\n\n(non-null [cast.framework.messages.HlsVideoSegmentFormat](/cast/docs/reference/web_receiver/cast.framework.messages#.HlsVideoSegmentFormat) or undefined)\n\nThe format of the HLS Video media segment. Only required for HLS content\nplayback using MPL.\n\n### id\n\nstring\n\nThe unique break clip ID.\n\n### posterUrl\n\n(string or undefined)\n\nThe URL of the content that the sender displays while the receiver is\nplaying this clip.\n\n### title\n\n(string or undefined)\n\nThe title of the break clip. Sender might display this on its screen, if\nprovided.\n\n### vastAdsRequest\n\n(non-null [cast.framework.messages.VastAdsRequest](/cast/docs/reference/web_receiver/cast.framework.messages.VastAdsRequest) or undefined)\n\nThe VAST ad request configuration.\nThis is used when neither `contentId` nor `contentUrl` are provided.\nTo avoid overflow, this field is not included in `MediaStatus` messages.\n\n### whenSkippable\n\n(number or undefined)\n\nThe time in seconds when this break clip becomes skippable. For example,\na value of `5` means that the user can skip this break clip after five\nseconds. If this field has a negative value or is `undefined`, this means\nthat the current break clip is not skippable."]]