Get Device List
Get list of all devices and their detailed information.
Interface Description
Interface Type
getDevicesReturn Value
Returns an object with device ID as key and device details as value:
javascript
{
"P72578581E07": {
"info": {
"deviceId": 'P72578581E07',
"deviceName": "Device Name",
"deviceIdentifier": "Device Identifier",
"deviceChip": "USB Chip ID",
"screenWidth": 750,
"screenHeight": 1334,
"orientation": 0,
"screenScale": 2,
"deviceVersion": "iOS Version",
"deviceRounded": false
},
"plugged": true // Whether USB is plugged in,
"online": true // Online
},
//...
}Return Field Description
info Object Fields
| Field Name | Type | Description | Example Value |
|---|---|---|---|
deviceName | string | Device name (customizable) | "My iPhone" |
deviceIdentifier | string | Device unique identifier | "P72578581E07" |
deviceChip | string | USB chip ID | XXXXXXXXXXX |
screenWidth | number | Screen width (pixels) | 1179 |
screenHeight | number | Screen height (pixels) | 2556 |
orientation | number | Screen orientation | 1 (portrait) / 2 (landscape) |
screenScale | number | Screen scale ratio | 3.0 |
deviceVersion | string | iOS system version | "17.0" |
deviceRounded | boolean | Whether rounded screen | true / false |