Skip to content

Auto Screen Mirroring ​

Automatically control device to come online and start screen mirroring without manual device operation.

Interface Description ​

Interface Type ​

autoReplay

Parameters ​

ParameterTypeRequiredDescription
deviceIdstring✅Device ID

Return Value ​

javascript
true  // Returns true on successful operation

Basic 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:

  1. Bind Chip - Device must be bound to USB chip
  2. Configure Shortcuts - Device must have iClick shortcuts installed and configured

Cooperation: try.catch@foxmail.com