1.Overview
Device Management
iClick provides comprehensive device management interfaces to get, manage, and control connected iOS devices.Device Connection Flow
Core Concepts
Device ID
Each connected device has a unique Device ID used to identify and operate that device.Device Status
Devices have two key statuses:Available Interfaces
Query Operations
Management Operations
Quick Start
Get Device List
Select Available Device
Device Information Fields
info Object
Each device’sinfo object contains the following fields:
Common Issues
❓ What to do if device list is empty?
Check:- ✅ Is the iOS device connected to iClick hardware
- ✅ Is iClick hardware connected to the computer
- ✅ Is the device displayed in the iClick app
- ✅ Is network connection normal
❓ What does plugged false mean?
It means the device is online (connected via network), but USB hardware is not ready. Possible reasons:- USB cable not plugged in properly
- iClick hardware not started
- USB Hub insufficient power supply
❓ How to distinguish different device models?
Use thedeviceIdentifier field, different models have different identifiers (e.g., iPhone15,2 represents iPhone 14 Pro).
❓ When does screen information change?
- When device switches between portrait and landscape,
screenWidthandscreenHeightwill swap orientationvalue will change (1=portrait, 2=landscape)
Next Steps
- See Get Device List for detailed usage
- See Automation Operations to learn how to control devices
- See Multi-language Clients to learn how to connect to the API
2.Get Device List
Get list of all devices and their detailed information.Endpoint Description
Endpoint Type
Response Payload
Returns an object with device ID as key and device details as value:Return Field Description
info Object Fields
3.Rename Device
Modify the device display name for easy identification and management of multiple devices.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
4.Remove Device
Remove the specified device record from the device list.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
⚠️ Notes
- Device Must Be Offline
- Can only remove offline devices (
online: false) - Online devices cannot be removed and will throw an error
- Need to disconnect device first, then perform removal
- Can only remove offline devices (
5.Stop Replay
Stop the device’s auto-replay or broadcast functionality.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
Feature Description
This interface sends a stop broadcast command to the device, used for:- 📡 Stop device video stream broadcast
- 🔄 Interrupt automation task execution
6.Set Device Busy State
Set the busy state of a device to identify whether the device is executing tasks, facilitating device conflict avoidance during multi-script collaboration.Endpoint Description
Endpoint Type
Parameters
Response Payload
Event Notifications
When setting the state, events are triggered and broadcast via WebSocket:- Triggers
device:busyevent when set to busy - Triggers
device:idleevent when set to idle
Basic Usage
Notes
Tips
- The device’s
busyingstate can be obtained through thegetDevicesinterface - It is recommended to promptly restore to idle state after task completion or exception to unlock the control panel
7.Auto Screen Mirroring
Automatically control device to come online and start screen mirroring without manual device operation.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
Prerequisites
8.Reboot Device
Reboot iOS devices through system shortcut keys.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
Reboot Device
How It Works
The interface triggers reboot operation through shortcut keys9.Get Chip List
Get list of USB control chips currently connected to the computer.Endpoint Description
Endpoint Type
Parameters
No parameters required.Response Payload
Returns array of chip serial numbers:Basic Usage
10.Bind USB Device
Bind device to specified USB chip, establishing association between device and chip.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
Feature Description
Binding Purpose
After device is bound to chip:- 🎮 Hardware Control - Implement hardware-level device control through chip
- 📱 Simulate Operations - Simulate real touch and key operations
- 🔄 Auto Screen Mirroring - Work with shortcuts to implement automatic online screen mirroring
Binding Relationship
- One-to-One Binding - One device can only bind to one chip
- Chip Exclusive - One chip can only bind to one device
- Persistent Save - Binding relationship is persistently saved
- Auto Initialize - Chip automatically initializes device configuration after binding

