عناصر قائمة الانتظار
المرتبطة بقائمة الانتظار والتي يمكن غالبًا حذفها من قائمة الانتظار على السحابة الإلكترونية
أو من قائمة الانتظار التي تم تنفيذها من قِبل المستلِم.
يجب ألا تكون القيمة فارغة.
startIndex
إجراء اختياري
الرقم
فهرس العنصر في قائمة الانتظار والذي يجب
استخدامه لبدء التشغيل أولاً.
startTime
إجراء اختياري
الرقم
الثواني (منذ بداية المحتوى) لبدء تشغيل العنصر الأول.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.QueueData\u003c/code\u003e is a class that defines the data structure for a media queue in the Google Cast SDK.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003edescription\u003c/code\u003e, \u003ccode\u003erepeatMode\u003c/code\u003e, \u003ccode\u003eitems\u003c/code\u003e, \u003ccode\u003estartIndex\u003c/code\u003e, and \u003ccode\u003estartTime\u003c/code\u003e to control queue behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eitems\u003c/code\u003e property holds an array of \u003ccode\u003echrome.cast.media.QueueItem\u003c/code\u003e objects, representing the individual media items within the queue.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eQueueData\u003c/code\u003e allows developers to manage playback order, repetition, and starting position within a media queue on a Cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eAdditional metadata, such as \u003ccode\u003econtainerMetadata\u003c/code\u003e and \u003ccode\u003equeueType\u003c/code\u003e, can provide further context about the queue's content and purpose.\u003c/p\u003e\n"]]],[],null,["# Class: QueueData\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).QueueData\n===============================================================================================================================\n\nclass static\n\nQueue data as part of the LOAD request.\n\nConstructor\n-----------\n\n### QueueData\n\nnew\nQueueData(id, name, description, repeatMode, items, startIndex, startTime)\n\n| #### Parameter ||\n|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| id | Optional string ID of the queue. |\n| name | Optional string Name of the queue. |\n| description | Optional string Description of the queue. |\n| repeatMode | Optional [chrome.cast.media.RepeatMode](/cast/docs/reference/web_sender/chrome.cast.media#.RepeatMode) How to repeat the queue. Value must not be null. |\n| items | Optional Array of non-null [chrome.cast.media.QueueItem](/cast/docs/reference/web_sender/chrome.cast.media.QueueItem) The queue items associated with the queue which can often be omitted for a cloud queue or a receiver implemented queue. Value must not be null. |\n| startIndex | Optional number The index of the item in the queue that should be used to start playback first. |\n| startTime | Optional number Seconds (since the beginning of content) to start playback of the first item. |\n\nProperties\n----------\n\n### containerMetadata\n\n(non-null [chrome.cast.media.ContainerMetadata](/cast/docs/reference/web_sender/chrome.cast.media.ContainerMetadata) or undefined)\n\nMetadata to describe the queue content, and optionally media sections.\n\n### description\n\n(string or undefined)\n\nDescription of the queue.\n\n### entity\n\n(string or undefined)\n\nOptional Queue entity ID, provide Google Assistant deep link.\n\n### id\n\n(string or undefined)\n\nID of the queue.\n\n### items\n\n(non-null Array of non-null [chrome.cast.media.QueueItem](/cast/docs/reference/web_sender/chrome.cast.media.QueueItem) or undefined)\n\nArray of queue items. It is sorted (first element will be played first).\n\n### name\n\n(string or undefined)\n\nName of the queue.\n\n### queueType\n\n(non-null [chrome.cast.media.QueueType](/cast/docs/reference/web_sender/chrome.cast.media#.QueueType) or undefined)\n\nQueue type, e.g. album, playlist, radio station, tv series, etc.\n\n### repeatMode\n\n(non-null [chrome.cast.media.RepeatMode](/cast/docs/reference/web_sender/chrome.cast.media#.RepeatMode) or undefined)\n\nContinuous playback behavior of the queue.\n\n### shuffle\n\n(boolean or undefined)\n\nIndicate if the queue is shuffled.\n\n### startIndex\n\n(number or undefined)\n\nThe index of the item in the queue that should be used to start playback\nfirst.\n\n### startTime\n\n(number or undefined)\n\nSeconds (since the beginning of content) to start playback of the first\nitem."]]