המזהה של פריט המדיה הנוכחי לאחר המחיקה (אם לא צוין, הערך הנוכחי של הפריט יהיה זהה לערך שהיה לפני המחיקה. אם הוא לא קיים מפני שהוא נמחק, הפריט הנוכחי יצביע על הפריט הלוגי הבא ברשימה).
currentTime
(מספר או לא מוגדר)
שניות מתחילת התוכן ועד התחלת ההפעלה של הפריט
הנוכחי. אם סופק, הערך הזה יקבל עדיפות על פני ערך startTime שמצוין ברמה QueueItem אבל רק בפעם הראשונה שהפריט יופעל. מצב זה נועד לכסות את המקרה הנפוץ שבו המשתמש קופץ
לאמצע פריט, כך שה-currentTime לא יחול על הפריט באופן קבוע, כמו ש-QueueItem startTime עושה. כך לא תצטרכו לאפס את
ה-startTime באופן דינמי (ייתכן שלא ניתן יהיה לבצע את הפעולה אם הטלפון עבר למצב שינה).
customData
(אובייקט לא null או לא מוגדר)
נתונים ספציפיים לאפליקציה לבקשה הזו. היא מאפשרת לשולח ולמקבל
להרחיב בקלות את פרוטוקול המדיה, בלי להשתמש במרחב שמות חדש עם הודעות בהתאמה אישית.
[[["התוכן קל להבנה","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)."],[[["`QueueRemoveRequestData` is a class used for sending requests to remove items from a media queue in the Cast framework."],["It allows specifying the `itemIds` to be removed and optional parameters like `currentItemId`, `currentTime`, and `customData`."],["`QueueRemoveRequestData` inherits properties from `cast.framework.messages.RequestData` such as `mediaSessionId`, `requestId`, and `sequenceNumber` for request management."],["The request data includes an array of `itemIds` representing the queue items to delete, enabling the receiver to process the removal."],["Developers can leverage `currentItemId` and `currentTime` to control playback behavior after the deletion, ensuring a smooth transition in the media queue."]]],["`QueueRemoveRequestData` facilitates removing items from a media queue. Key actions involve specifying `itemIds`, an array of numbers representing the IDs of items to delete. Optional data includes `currentItemId` to indicate the next item post-deletion, `currentTime` for playback start time, and `customData` for application-specific extensions. It also inherits properties like `mediaSessionId`, `requestId`, and `sequenceNumber` for request management and synchronization. The constructor initializes with `itemIds`.\n"]]