UsbPeripheralReport
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รายงานอุปกรณ์ต่อพ่วงที่เชื่อมต่อกับ USB
การแสดง JSON |
{
"vendor": string,
"name": string,
"vid": integer,
"pid": integer,
"categories": [
string
],
"classId": integer,
"subclassId": integer,
"firmwareVersion": string
} |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\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 |"]]