UsbPeripheralReport
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"vendor": string,
"name": string,
"vid": integer,
"pid": integer,
"categories": [
string
],
"classId": integer,
"subclassId": integer,
"firmwareVersion": string
} |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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 |"]]