האינדקס של הפריט במערך הפריטים שחייב להיות הפריט הנוכחי הראשון (הפריט שיופעל ראשון). חשוב לשים לב שזה האינדקס
של המערך (מתחיל ב-0) ולא מזהה הפריט (מכיוון שהוא לא ידוע עד ליצירת התור). אם הערך של ReturnMode הוא chrome.cast.media.RepeatMode.OFF
ההפעלה תסתיים כשהפריט האחרון במערך יופעל (הרכיבים
שלפני ה-startIndex לא יופעלו). האפשרות הזו יכולה להיות שימושית לתרחישי המשך שבהם המשתמש כבר השתמש באפליקציית השולח
ובאמצע מחליט להעביר (cast). כך אפליקציית השולח לא צריכה למפות בין המיקום של התור המקומי לבין המיקום המרוחק, או לשמור בקשה אחת נוספת לעדכון התור.
[[["התוכן קל להבנה","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-25 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eQueueLoadRequest\u003c/code\u003e is used to load and potentially start playing a new, ordered list of media items on a Cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt requires an array of \u003ccode\u003eQueueItem\u003c/code\u003e objects, specifying the media to be loaded and played.\u003c/p\u003e\n"],["\u003cp\u003eOptions for playback behavior include \u003ccode\u003ecustomData\u003c/code\u003e, \u003ccode\u003erepeatMode\u003c/code\u003e, and \u003ccode\u003estartIndex\u003c/code\u003e for controlling how the queue is handled.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003erepeatMode\u003c/code\u003e determines how the queue behaves after the last item is played (e.g., repeating the queue, repeating a single item, or stopping).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estartIndex\u003c/code\u003e allows you to specify which item in the queue should be played first, useful for resuming playback from a specific point.\u003c/p\u003e\n"]]],["The `QueueLoadRequest` class manages loading and playing an ordered list of media items. It requires a non-empty array of `QueueItem` objects. Key properties include `items` (the media list), `repeatMode` (playback behavior after an item ends), `startIndex` (specifying the first item to play by its index), and `customData` (for receiver app customization). `startIndex` defaults to 0, and `repeatMode` defaults to OFF. The provided array is sorted by index.\n"],null,[]]