সারিতে থাকা মিডিয়া আইটেমগুলির একটি তালিকা পুনরায় সাজানোর অনুরোধ৷
কনস্ট্রাক্টর
QueueReorderItemsRequest
নতুন QueueReorderItemsRequest(itemIdsToReorder)
প্যারামিটার
আইটেম আইডসটি পুনঃক্রম
সংখ্যার অ্যারে
পুনঃক্রমের জন্য মিডিয়া আইটেম আইডিগুলির তালিকা৷ শূন্য বা খালি হওয়া উচিত নয়।
মান শূন্য হতে হবে না.
বৈশিষ্ট্য
কাস্টম ডেটা
বাতিলযোগ্য বস্তু
রিসিভার অ্যাপ্লিকেশনের জন্য কাস্টম ডেটা।
সন্নিবেশ আগে
বাতিলযোগ্য সংখ্যা
আইটেমটির আইডি যা পুনরায় সাজানো তালিকার পরপরই অবস্থিত হবে। যদি শূন্য বা না পাওয়া যায়, তাহলে সারির শেষে পুনরায় সাজানো তালিকা যুক্ত করা হবে। এই আইডিটি আইটেমআইডি তালিকার একটি আইডি হতে পারে না।
আইটেম আইডি
সংখ্যার নন-নাল অ্যারে
মিডিয়া আইটেম আইডির তালিকা নতুন ক্রমানুসারে পুনরায় সাজাতে হবে। প্রদত্ত আইটেমগুলি তাদের বিদ্যমান ক্রম বজায় রাখবে (আইটেমগুলি পুনরায় সাজানো ছাড়া)। প্রদত্ত তালিকা insertBefore দ্বারা নির্ধারিত অবস্থানে ঢোকানো হবে।
উদাহরণ স্বরূপ:
যদি সন্নিবেশ পূর্বে নির্দিষ্ট করা না থাকে তাহলে বিদ্যমান সারি: "A","D","G","H","B","E" আইটেম আইডস: "D","H","B" নতুন অর্ডার: "A" "G","E", "D","H","B"
যদি সন্নিবেশ করার আগে "A" বিদ্যমান সারি হয়: "A","D","G","H","B" আইটেমআইড: "D","H","B" নতুন অর্ডার: "D","H ","B", "A","G","E"
যদি সন্নিবেশ করার আগে "G" হয় বিদ্যমান সারি: "A","D","G","H","B" আইটেমআইড: "D","H","B" নতুন অর্ডার: "A", "D" ","H","B","G","E"
কোনো আইটেম বিদ্যমান না থাকলে তা উপেক্ষা করা হবে। শূন্য বা খালি হওয়া উচিত নয়।
[[["সহজে বোঝা যায়","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"]],["2024-10-30 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["`chrome.cast.media.QueueReorderItemsRequest` is used to change the playback order of media items within a queue on a cast receiver."],["It requires a list of media item IDs (`itemIds`) to reorder and optionally an `insertBefore` item ID to specify the position in the queue."],["Items not specified in the `itemIds` array retain their original order relative to each other, with the reordered items inserted as a block."],["The reordered items are placed before the item specified by `insertBefore`, or appended to the end of the queue if `insertBefore` is not provided or is invalid."],["Custom data can be passed to the receiver application using the `customData` property."]]],["The `QueueReorderItemsRequest` class is used to rearrange media items within a queue. It requires an array of `itemIds` to specify the items and their new order. The `insertBefore` property determines where to place the reordered list; if null, it's appended to the end. Items not listed retain their positions, while non-existent items are ignored. Custom data for the receiver can be set. The reordered list will be in the position as specified in the `insertBefore` property.\n"]]