मौजूदा आइटम के खत्म होने के बाद, अगला आइटम चुनने के लिए एल्गोरिदम.
डिफ़ॉल्ट वैल्यू
chrome.cast.media.repeatMode.OFF
startIndex
नंबर
आइटम कलेक्शन में मौजूद आइटम का इंडेक्स, जो पहला मौजूदा आइटम
होना चाहिए (वह आइटम जिसे पहले चलाया जाएगा). ध्यान दें कि यह कलेक्शन का इंडेक्स (0 से शुरू होता है) है, न कि itemId का इंडेक्स है (क्योंकि सूची बनने तक इसका पता नहीं चलता). अगरदोहराव वाला मोड chrome.cast.media.repeatMode.OFF है, तो कलेक्शन में मौजूद आखिरी आइटम को चलाने पर वीडियो चलना बंद हो जाएगा (startIndex से पहले के एलिमेंट नहीं चलाए जाएंगे). यह सुविधा उन स्थितियों में काम की हो सकती है जिनमें उपयोगकर्ता पहले से ही भेजने वाले के ऐप्लिकेशन का इस्तेमाल कर रहा था और बीच में कास्ट करने का फ़ैसला लेता है. इस तरह, भेजने वाले ऐप्लिकेशन को लोकल और रिमोट क्यू के बीच मैप करने की ज़रूरत नहीं होती. इसके अलावा, सूची को अपडेट करने के लिए एक और अनुरोध सेव करने की भी ज़रूरत नहीं पड़ती.
[[["समझने में आसान है","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,[]]