Dữ liệu dành riêng cho ứng dụng của yêu cầu này. Phương thức này giúp người gửi và người nhận dễ dàng mở rộng giao thức truyền thông mà không phải sử dụng không gian tên mới với các thông báo tuỳ chỉnh.
Một số để đồng bộ hoá tất cả các lệnh trong hàng đợi.
Nếu được cung cấp cho một lệnh trong hàng đợi, SDK sẽ xác minh số thứ tự mới nhất của hàng đợi khớp với yêu cầu.
Hiện tạiseqNumber được cung cấp như một phần của các thông báo đã thay đổi trong hàng đợi gửi đi.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eGetItemsInfoRequestData\u003c/code\u003e is a class used to request information about specific media items, identified by their \u003ccode\u003eitemIds\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties like \u003ccode\u003ecustomData\u003c/code\u003e, \u003ccode\u003emediaSessionId\u003c/code\u003e, \u003ccode\u003erequestId\u003c/code\u003e, and \u003ccode\u003esequenceNumber\u003c/code\u003e from the \u003ccode\u003ecast.framework.messages.RequestData\u003c/code\u003e class for managing request context and application-specific data.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor requires an array of \u003ccode\u003eitemIds\u003c/code\u003e representing the media items for which information is sought.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetItemsInfoRequestData\u003c/code\u003e facilitates communication within the Cast framework, enabling senders to request and receivers to provide details about media items.\u003c/p\u003e\n"]]],["`GetItemsInfoRequestData` is a class for requesting information about specific items. It's constructed with a mandatory array of `itemIds`. The class includes `customData` for application-specific extensions. It inherits `mediaSessionId`, `requestId`, and `sequenceNumber` for managing and synchronizing requests. The `itemIds` is a list of numbers, and the class facilitates communication between the sender and receiver to enhance the media protocol. It can retrieve specific media information based on the requested IDs.\n"],null,["cast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).GetItemsInfoRequestData \nclass static\n\nGet items info request data.\n\nConstructor\n\nGetItemsInfoRequestData\n\nnew\nGetItemsInfoRequestData(itemIds)\n\n| Parameter ||\n|---------|-----------------------------------------|\n| itemIds | Array of number Value must not be null. |\n\nExtends\n: [cast.framework.messages.RequestData](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData)\n\nProperties\n\ncustomData\n\n(non-null Object or undefined)\n\nApplication-specific data for this request. It enables the sender and\nreceiver to easily extend the media protocol without having to use a new\nnamespace with custom messages.\n\nInherited from\n: [cast.framework.messages.RequestData#customData](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#customData)\n\nitemIds\n\nnon-null Array of number\n\nList of item ids to be requested.\n\nmediaSessionId\n\n(number or undefined)\n\nId of the media session that the request applies to.\n\nInherited from\n: [cast.framework.messages.RequestData#mediaSessionId](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#mediaSessionId)\n\nrequestId\n\nnumber\n\nId of the request, used to correlate request/response.\n\nInherited from\n: [cast.framework.messages.RequestData#requestId](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#requestId)\n\nsequenceNumber\n\n(number or undefined)\n\nA number to synchronize all queue commands.\nIf provided for a queue command, the SDK will verify the queue latest\nsequence number match the request.\nCurrent sequenceNumber is provided as part of outgoing queue changed\nmessages.\n\nInherited from\n: [cast.framework.messages.RequestData#sequenceNumber](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#sequenceNumber)"]]