האינדקס של הפריט במערך הפריטים שחייב להיות הפריט הנוכחי הראשון (הפריט שיופעל ראשון). חשוב לשים לב שזה האינדקס
של המערך (מתחיל ב-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"]],["עדכון אחרון: 2023-12-02 (שעון UTC)."],[[["`QueueLoadRequest` is used to load and potentially start playing a new, ordered list of media items on a Cast receiver."],["It requires an array of `QueueItem` objects, specifying the media to be loaded and played."],["Options for playback behavior include `customData`, `repeatMode`, and `startIndex` for controlling how the queue is handled."],["`repeatMode` determines how the queue behaves after the last item is played (e.g., repeating the queue, repeating a single item, or stopping)."],["`startIndex` allows you to specify which item in the queue should be played first, useful for resuming playback from a specific point."]]],["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"]]