Page tree
Skip to end of metadata
Go to start of metadata

GetConnectedDevices()

Supported in iOS Supported in Android

Description

This command will return a string of all devices currently available in the device list (on ready mode).

Parameters

No parameters.

Note: Command will not return name of devices in offline mode.

Usage

Check the status of available devices on the device list.

Step 1: Add GetConnectedDevices() after initially setting a device.

Step 2: When script will run, we will get the string of all connected devices available on the devices list that are on ready mode.


Code Examples

Java Example
String str1 = client.getConnectedDevices();
C# Example
string str1 = client.GetConnectedDevices();
VBScript Example
str0 = client.GetConnectedDevices (  )
Report
Python Example
var1 = self.client.getConnectedDevices()
Perl Example
my $str1 = $client->getConnectedDevices();
  • No labels