类:QueueIds
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003e\u003ccode\u003ecast.framework.messages.QueueIds\u003c/code\u003e is a class representing a data message with a list of queue IDs.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties for item IDs (\u003ccode\u003eitemIds\u003c/code\u003e), request ID (\u003ccode\u003erequestId\u003c/code\u003e), sequence number (\u003ccode\u003esequenceNumber\u003c/code\u003e), and message type (\u003ccode\u003etype\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esequenceNumber\u003c/code\u003e property helps synchronize state between senders and the receiver.\u003c/p\u003e\n"]]],["The `QueueIds` class represents a data message containing queue information. It includes three key properties: `itemIds`, an array of queue item identifiers; `requestId`, the associated request identifier; and `sequenceNumber`, used for synchronizing queue state across senders and the receiver. It also includes a property `type` which is a messageType. The class constructor is `QueueIds()` and is used to create a new instance of the class.\n"],null,["# Class: QueueIds\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).QueueIds\n=================================================================================================================================================\n\nclass static\n\nRepresents a data message containing the full list of queue IDs.\n\nConstructor\n-----------\n\n### QueueIds\n\nnew\nQueueIds()\n\nProperties\n----------\n\n### itemIds\n\n(non-null Array of number or undefined)\n\nThe list of queue item IDs.\n\n### requestId\n\n(number or undefined)\n\nThe corresponding request ID.\n\n### sequenceNumber\n\n(number or undefined)\n\nThe latest queue change sequence ID. Used to coordinate state\nsynchronization between various senders and the receiver.\n\n### type\n\nnon-null [cast.framework.messages.MessageType](/cast/docs/reference/web_receiver/cast.framework.messages#.MessageType)"]]