UsbPeripheralReport
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"vendor": string,
"name": string,
"vid": integer,
"pid": integer,
"categories": [
string
],
"classId": integer,
"subclassId": integer,
"firmwareVersion": string
} |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis document describes the JSON representation of a USB connected peripheral report.\u003c/p\u003e\n"],["\u003cp\u003eThe report includes details such as vendor, name, IDs, categories, class, subclass, and firmware version of the device.\u003c/p\u003e\n"],["\u003cp\u003eAll fields in the JSON representation are output only and provide information about the connected USB peripheral.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided links for more details on USB defined class codes for categories, class ID, and subclass ID.\u003c/p\u003e\n"]]],[],null,["# UsbPeripheralReport\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nUSB connected peripheral report.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"vendor\": string, \"name\": string, \"vid\": integer, \"pid\": integer, \"categories\": [ string ], \"classId\": integer, \"subclassId\": integer, \"firmwareVersion\": string } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------|\n| `vendor` | `string` Output only. Vendor name |\n| `name` | `string` Output only. Device name, model name, or product name |\n| `vid` | `integer` Output only. Vendor ID |\n| `pid` | `integer` Output only. Product ID |\n| `categories[]` | `string` Output only. Categories the device belongs to \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `classId` | `integer` Output only. Class ID \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `subclassId` | `integer` Output only. Subclass ID \u003chttps://www.usb.org/defined-class-codes\u003e |\n| `firmwareVersion` | `string` Output only. Firmware version |"]]