클래스: GetItemsInfoRequestData
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 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,["# Class: GetItemsInfoRequestData\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).GetItemsInfoRequestData\n================================================================================================================================================================\n\nclass static\n\nGet items info request data.\n\nConstructor\n-----------\n\n### GetItemsInfoRequestData\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----------\n\n### customData\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\n### itemIds\n\nnon-null Array of number\n\nList of item ids to be requested.\n\n### mediaSessionId\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\n### requestId\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\n### sequenceNumber\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)"]]