Auto Screen Mirroring
Automatically control device to come online and start screen mirroring without manual device operation.
Interface Description
Interface Type
autoReplayParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | ✅ | Device ID |
Return Value
javascript
true // Returns true on successful operationBasic Usage
javascript
// Start device auto screen mirroring
await apiInvoke('autoReplay', {
deviceId: 'P72578581E07'
});
console.log('Device is automatically coming online for screen mirroring...');Prerequisites
⚠️ Must Complete Configuration First
Before using this feature, you must complete the following configuration:
- Bind Chip - Device must be bound to USB chip
- Configure Shortcuts - Device must have iClick shortcuts installed and configured