Ana videoya dahil edilen bir arayı (ör. reklam arası) temsil eder.
Marka
Duraklama
yeni
Break(id, breakClipIds; konum)
Parametre
id
dize
Aranın benzersiz kimliği.
breakClipIds
Dize dizisi
Bu araya dahil edilen ara klibi kimliklerinin listesi.
Değer boş olamaz.
position
sayı
Bu aranın ana video içindeki konumu.
Özellikler
breakClipIds
null olmayan dize dizisi
Bu araya dahil edilen ara klibi kimliklerinin listesi.
süre
(sayı veya tanımsız)
Saniye cinsinden ara süresi.
id
dize
Aranın benzersiz kimliği.
isEmbedded
(boole veya tanımsız)
Aranın ana akışa yerleştirilip yerleştirilmediğini gösterir.
isWatched
boolean
Ara izlenip izlenmediği. Ara oynamaya başladığında bu, doğru olarak işaretlenir. Bu alan "false" (yanlış) değerinden doğru değerine ayarlandığında, gönderen, son kullanıcının bu arayı zaten izlediğini belirtmek için bu araya karşılık gelen ilerleme çubuğu işaretçisinin rengini değiştirebilir.
position
sayı
Ana videodaki aranın konumu. -1, ana videonun sonunu saniye cinsinden belirtir.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2023-12-02 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"]]