প্রধান ভিডিওতে অন্তর্ভুক্ত একটি বিরতি (যেমন বিজ্ঞাপন বিরতি) প্রতিনিধিত্ব করে।
কনস্ট্রাক্টর
বিরতি
নতুন বিরতি (আইডি, ব্রেকক্লিপআইডস, অবস্থান)
প্যারামিটার
আইডি
স্ট্রিং
বিরতির অনন্য আইডি।
breakClipIds
স্ট্রিং এর অ্যারে
এই বিরতিতে অন্তর্ভুক্ত বিরতি ক্লিপ আইডিগুলির তালিকা৷
মান শূন্য হতে হবে না.
অবস্থান
সংখ্যা
মূল ভিডিওর ভিতরে এই বিরতির অবস্থান।
বৈশিষ্ট্য
breakClipIds
স্ট্রিং এর নন-নাল অ্যারে
এই বিরতিতে অন্তর্ভুক্ত বিরতি ক্লিপ আইডিগুলির তালিকা৷
সময়কাল
(সংখ্যা বা অনির্ধারিত)
সেকেন্ডে বিরতির সময়কাল।
আইডি
স্ট্রিং
বিরতির অনন্য আইডি।
এম্বেডেড
(বুলিয়ান বা অনির্ধারিত)
বিচ্ছেদ মূল স্রোতে এমবেড করা হয়েছে কিনা তা নির্দেশ করে।
দেখা হয়েছে
বুলিয়ান
একটি বিরতি দেখা হয়েছে কিনা. বিরতি খেলা শুরু হলে এটি সত্য হিসাবে চিহ্নিত করা হয়। এই ক্ষেত্রটি মিথ্যা থেকে সত্যে পরিবর্তিত হয়ে গেলে একজন প্রেরক এই বিরতির সাথে সম্পর্কিত একটি অগ্রগতি দণ্ড চিহ্নিতকারীর রঙ পরিবর্তন করতে পারে যা বোঝায় যে শেষ-ব্যবহারকারী ইতিমধ্যে এই বিরতিটি দেখেছেন।
অবস্থান
সংখ্যা
মূল ভিডিওর ভিতরে বিরতির অবস্থান। -1 সেকেন্ডে মূল ভিডিওর শেষের প্রতিনিধিত্ব করে।
[null,null,["2025-01-11 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `chrome.cast.media.Break` class represents an ad break or similar interruption within a main video stream."],["Breaks are identified by a unique ID and contain a list of break clip IDs, along with their position in the main video."],["Key properties of a Break include its duration, whether it's embedded within the stream, and if it has been watched by the user."],["Developers can use the `Break` object to manage and track breaks within their Cast-enabled applications."]]],["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"]]