প্রধান ভিডিওতে অন্তর্ভুক্ত একটি বিরতি (যেমন বিজ্ঞাপন বিরতি) প্রতিনিধিত্ব করে।
কনস্ট্রাক্টর
বিরতি
নতুন বিরতি (আইডি, ব্রেকক্লিপআইডস, অবস্থান)
প্যারামিটার
আইডি
স্ট্রিং
বিরতির অনন্য আইডি।
breakClipIds
স্ট্রিং এর অ্যারে
এই বিরতিতে অন্তর্ভুক্ত বিরতি ক্লিপ আইডিগুলির তালিকা৷
মান শূন্য হতে হবে না.
অবস্থান
সংখ্যা
মূল ভিডিওর ভিতরে এই বিরতির অবস্থান।
বৈশিষ্ট্য
breakClipIds
স্ট্রিং এর নন-নাল অ্যারে
এই বিরতিতে অন্তর্ভুক্ত বিরতি ক্লিপ আইডিগুলির তালিকা৷
সময়কাল
(সংখ্যা বা অনির্ধারিত)
সেকেন্ডে বিরতির সময়কাল।
আইডি
স্ট্রিং
বিরতির অনন্য আইডি।
এম্বেডেড
(বুলিয়ান বা অনির্ধারিত)
বিচ্ছেদ মূল স্রোতে এমবেড করা হয়েছে কিনা তা নির্দেশ করে।
দেখা হয়েছে
বুলিয়ান
একটি বিরতি দেখা হয়েছে কিনা. বিরতি খেলা শুরু হলে এটি সত্য হিসাবে চিহ্নিত করা হয়। এই ক্ষেত্রটি মিথ্যা থেকে সত্যে পরিবর্তিত হয়ে গেলে একজন প্রেরক এই বিরতির সাথে সম্পর্কিত একটি অগ্রগতি দণ্ড চিহ্নিতকারীর রঙ পরিবর্তন করতে পারে যা বোঝায় যে শেষ-ব্যবহারকারী ইতিমধ্যে এই বিরতিটি দেখেছেন।
অবস্থান
সংখ্যা
মূল ভিডিওর ভিতরে বিরতির অবস্থান। -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-24 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,[]]